Pen-Yuan Hsing wrote: > I've been trying to compile, build, and install GCC 4.4.2 in my installation > of OpenSolaris 2009.06 on my VirtualBox 3 i386 machine. But I keep getting > this same error when running make: > > "checking whether ln -s works... yes > checking for i386-pc-solaris2.11-gcc... > /src/gcc-4.4.2/host-i386-pc-solaris2.11/gcc/xgcc > -B/src/gcc-4.4.2/host-i386-pc-solaris2.11/gcc/ > -B/usr/gnu/i386-pc-solaris2.11/bin/ -B/usr/gnu/i386-pc-solaris2.11/lib/ > -isystem /usr/gnu/i386-pc-solaris2.11/include -isystem > /usr/gnu/i386-pc-solaris2.11/sys-include > checking for suffix of object files... configure: error: in > `/src/gcc-4.4.2/i386-pc-solaris2.11/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 `/src/gcc-4.4.2' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/src/gcc-4.4.2' > make: *** [all] Error 2"
What did you see when you looked at "config.log" for details? Usually, this is caused by the bootstrap compiler (xgcc) getting a segmentation fault due to some confusion about libraries or such. Note that "Error 1" and "Error 2" are just make's way of reporting the fact that some previous command failed. They're not the root cause of the problem. For reference (and probably not _directly_ related to the problem you're seeing) look at this evaluation: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35577 -- James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
