But, they told me that mips-elf is for 'no-opsys' target, and does't support glibc. So if I want to use gcc for operantion system and glibc, should I use mipsel-linux?
Thanks 27 Feb 2006 22:55:48 -0800, Ian Lance Taylor <ian@airs.com>: > "Eric Fisher" <[EMAIL PROTECTED]> 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 >