error in building gcc
Sandeep Soni
saintiwara@gmail.com
Thu Mar 25 17:13:00 GMT 2010
Hi,
I am trying to build gcc from the source I got from svn
My configure line was as follows:
/home/sandy/Devl/gcc_ss/configure --prefix=/home/sandy/Devl/usr/local/
--enable-languages=c,c++,lto
the configure script runs fine giving no errors and the makefile is created.
While bootstrapping,
I get the following error on the console:
checking for i686-pc-linux-gnu-gcc...
/home/sandy/Devl/gcc-bin/./gcc/xgcc -B/home/sandy/Devl/gcc-bin/./gcc/
-B/home/sandy/Devl/usr/local/i686-pc-linux-gnu/bin/
-B/home/sandy/Devl/usr/local/i686-pc-linux-gnu/lib/ -isystem
/home/sandy/Devl/usr/local/i686-pc-linux-gnu/include -isystem
/home/sandy/Devl/usr/local/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/home/sandy/Devl/gcc-bin/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/sandy/Devl/gcc-bin'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/sandy/Devl/gcc-bin'
make: *** [bootstrap] Error 2
Can someone tell me why I am getting such an error and how I could remove it?
I am also attaching the config.log file.
--
cheers
sandy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 37144 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20100325/1f9c425c/attachment.obj>
More information about the Gcc-help
mailing list