question about default options of mips
Eric Christopher
echristo@apple.com
Tue Feb 28 06:57:00 GMT 2006
On Feb 27, 2006, at 10:52 PM, Eric Fisher wrote:
> Hi,
> I installed cross gcc3.4.4 on my linux/pc server with
> --target=mips-elf. When I use mips-linux-gcc to compile a c file, the
> assembly code will have psuedo-op used for system v.4 (e.g. .cpload).
> And the object file is of big endian. So I have to use flag
> -mno-abicalls and -EL every time. Are there anyway to make them to
> default options?
Don't configure for mips-linux-gnu. Configure for mips-elf like you
said you did. Also, use --target=mipsel-elf.
-eric
More information about the Gcc
mailing list