I am working to build a gcc-4.4.3 for c/c++ and java. I have worked a few hours and still getting stuck. I need some help on this issue. The steps I followed are:
1. downlad the gcc-4.4.3 package and uncompressed. 2. mkdir objdir, then cd objdir 3. ../gcc-4.4.3/config --enable -languages=c, c++, java All the steps works fine so far.
4. make BOOT_CFLAGS='-O' bootstrap
I got the following error: checking for i686-pc-linux-gnu-ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... /root/objdir/./gcc/xgcc -B/root/objdir/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/root/objdir/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 `/root/objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/root/objdir' make: *** [bootstrap] Error 2
By the way, my machine info $uname -a
Linux ams-lnxbld-7.nielsenmedia.com 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux
$gcc --v
Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.2.4/configure Thread model: posix gcc version 4.2.4
Please help on my build errors. I really appreciate al the help.