Build GCC fail

wangwen wangwen@coretac.com
Thu Aug 24 19:55:00 GMT 2000


Hi,
 
I am building a Cygwin hosted Linux 
GCC.
All work are done in Cygwin.
First, I make binutils-2.10. It ok.
 
Then, 
$ 
mkdir gcc
$ ln -s 
/usr/local/cross-tools/bin/i686-pc-linux-gnu-as.exe gcc/as.exe
 
Then I make GCC-2.95
 
$ CONFIG_SHELL=bash bash /usr/local/src/gcc-2.95/configure    --enable-languages=c,c++,objc  \
--prefix=/usr/local/cross-tools    \
--target=i686-pc-linux-gnu   
--enable-shared 
 
the terminal display following 
messages:
...........
>loading cache ../config.cache >checking 
LIBRARY_PATH variable... ok >checking GCC_EXEC_PREFIX variable... 
ok >checking host system type... i686-pc-cygwin32 >checking target 
system type... i686-pc-linux-gnu >checking build system type... 
i686-pc-cygwin32 >checking for gcc... (cached) gcc >checking whether 
the C compiler (gcc -g -O2 ) works... no >configure: error: installation 
or configuration problem: C >compiler cannot create 
executables. >Configure in /usr/local/src/BUILD/gcc-2.95/gcc failed, 
>exiting.
How to solve the problem?
All replies appreciated
 
Regards,
wangwen  



More information about the Gcc-help mailing list