Marcel Runte wrote:
Hi, after sucessfully completed step 5.11 within the stable CLFS documenation (http://cross-lfs.org/view/1.0.0/mips64/cross-tools/gcc-final.html) i build a simple c program with mips64-unknown-linux-gnu-gcc and downgraded abi code (32 bit) as following:cat printit.c #include <stdio.h> int main(void) { printf("hello, world\n"); return 0; } The build command line is: mips64-unknown-linux-gnu-gcc -mabi=32 -mips3 -o printit printit.c That executeable isn't working on a mips arch. The dynamic version says only 'Killed'. The static version is core dumped. My build host was a Red Hat Server Release machine (it used i486 as arch), my target maschine is: uname -a ReliantUnix-N 5.44 R10000 file /usr/bin/ksh is an ELF 32 bit MSB MIPS III 64 s executeable bin (stripped) file /usr/lib/libc.so.1 is an ELF 32 bit MSB (non stripped) Please shed some light on my situation. If you need any further infos, ask right away... Thanks. Marcel _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
I don't think you can use -mips3 and -mabi=32 together. I'll see what I can find out.
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
