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]

Re: CrossGCC FAQ build method not working


On Sat, 2004-04-24 at 20:21, Seb James wrote:
> checking whether the C compiler ( /home/seb/crossenv/gcc-build/gcc/xgcc -B/home/seb/crossenv/gcc-build/gcc/ -B/home/seb/crossenv/toolchain/i586-linux/bin/ -B/home/seb/crossenv/toolchain/i586-linux/lib/ -isystem /home/seb/crossenv/toolchain/i586-linux/include -O2 -g -O2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
> make: *** [configure-target-libiberty] Error 1
> [seb@xerxes 19:56:04 gcc-build]$
> 
> 
> Does anyone have any ideas about why the C compiler that's been built
> can't create executables? 

Ok, checked the config.log file in gcc-build/i586-linux/libiberty/,
which gives me much more information. This is clearly the place to look:

configure:2392: checking whether the C compiler ( /home/seb/sumo/gcc-build/gcc/xgcc -B/home/seb/sumo/gcc-build/gcc/ -B/home/seb/sumo/toolchain/i586-linux/bin/ -B/home/seb/sumo/toolchain/i586-linux/lib/ -isystem /home/seb/sumo/toolchain/i586-linux/include -O2 -g -O2 ) works
configure:2408:  /home/seb/sumo/gcc-build/gcc/xgcc -B/home/seb/sumo/gcc-build/gcc/ -B/home/seb/sumo/toolchain/i586-linux/bin/ -B/home/seb/sumo/toolchain/i586-linux/lib/ -isystem /home/seb/sumo/toolchain/i586-linux/include -o conftest -O2 -g -O2   conftest.c  1>&5
/home/seb/sumo/toolchain/i586-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
 
#line 2403 "configure"
#include "confdefs.h"
 
main(){return(0);}
[seb@xerxes 20:42:10 gcc-build]$

So, I've found out how to move on.

Seb



------
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]