error in building gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: config.log
Description: Binary data


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux