This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about default options of mips
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Eric Fisher" <joefoxreal at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 27 Feb 2006 22:55:48 -0800
- Subject: Re: question about default options of mips
- References: <d6afecde0602272252y363a9f74v@mail.gmail.com>
"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