Subject: Re: i386->sgimips cross compile for R5k
To: None <port-sgimips@netbsd.org>
From: Dmitri Nikulin <setagllib@optusnet.com.au>
List: port-sgimips
Date: 01/27/2005 23:16:59
/usr/src/obj/tooldir.NetBSD-2.0_STABLE-i386/bin/mipseb--netbsd-gcc -O2
-O2 -pipe -mips4 -march=r5k -mabi=n32 -mgp32 -fPIC -O2 -pipe -mips4
-march=r5k -mabi=n32 -mgp32 -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -I-
-I/usr/src/lib/csu/mips -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/csu/mips/../common_elf
-I/usr/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc
-isystem /usr/src/obj/destdir.sgimips/usr/include -c -DCRT0
/usr/src/lib/csu/mips/crt0.c -o crt0.o
cc1: error: -mgp32 used with a 64-bit ABIAssembler messages:
Error: -mgp32 used with a 64-bit ABI
FATAL: can't create crt0.o.o: Invalid bfd target
--
It's that weird. -mabi=n32 isn't clear enough for some tools. Going to
try again without that part.
In GNU we trust?