This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about default options of mips



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]