target=mips-elf cannot creat exec

Jason R Addison jaddison@CS.Arizona.EDU
Wed Jan 23 16:56:00 GMT 2002

Initially, thanks to Mr. Korn for his help last week.

The build and install of binutils seems to work fine.

my config command for binutils:

bash-2.04$ ../binutils-2.11.2/configure --target=mips-elf

Here is my config command for gcc:

bash-2.04$ ../gcc-3.0.3/configure --target=mips-elf
--exec-prefix=/home/me/usr/linux-86 --with-gnu-as
--with-as=/home/me/usr/linux-86/bin/mips-elf-as --with-gnu-ld

bash-2.04$ export PATH=$PATH:~/usr/linux-86/bin
bash-2.04$ make all install


checking whether errno must be declared... yes
checking whether the C compiler (/tmp/build-cross/build-gcc/gcc/xgcc
-B/home/jaddison/usr/linux-86/mips-elf/lib/ -isystem
/home/jaddison/usr/linux-86/mips-elf/include -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [configure-target-libiberty] Error 1

what now???

Thanks, Jason

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list