This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

target=mips-elf cannot creat exec


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


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