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