[Fwd: target=mips-elf cannot creat exec]
Keith Auerbach
fluffy@twopoint.com
Wed Jan 23 20:29:00 GMT 2002
I thought that this was a really good example. What would I do
differently
for redhat 6.2 running on an 1386 instead of mips processor. Any help?
thanx everyone
-------- Original Message --------
Subject: target=mips-elf cannot creat exec
Date: Wed, 23 Jan 2002 10:12:40 -0700 (MST)
From: Jason R Addison <jaddison@CS.Arizona.EDU>
To: <crossgcc@sourceware.cygnus.com>
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
--prefix=/home/me/usr/local
--exec-prefix=/home/me/usr/linux-86
Here is my config command for gcc:
bash-2.04$ ../gcc-3.0.3/configure --target=mips-elf
--prefix=/home/me/usr/local
--exec-prefix=/home/me/usr/linux-86 --with-gnu-as
--with-as=/home/me/usr/linux-86/bin/mips-elf-as --with-gnu-ld
--with-ld=/home/me/usr/linux-86/bin/mips-elf-ld
bash-2.04$ export PATH=$PATH:~/usr/linux-86/bin
bash-2.04$ make all install
gives:
...
checking whether errno must be declared... yes
checking whether the C compiler (/tmp/build-cross/build-gcc/gcc/xgcc
-B/tmp/build-cross/build-gcc/gcc/
-B/home/jaddison/usr/linux-86/mips-elf/bin/
-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,
http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sources.redhat.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list