question about default options of mips
Ian Lance Taylor
ian@airs.com
Tue Feb 28 06:55:00 GMT 2006
"Eric Fisher" <joefoxreal@gmail.com> writes:
> 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?
You can make it little endian by configuring for mipsel-elf.
mipsel-elf-gcc won't default to abicalls as far as I know. It's true
that mips-linux-gcc will default to abicalls.
Ian
More information about the Gcc
mailing list