http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
Summary: gcc-4.5.2 fails to build on Solaris 10 i386 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: y...@tsoft.com I downloaded gcc-core-4.5.2 and gcc-g++-4.5.2, configured with command: ../src/configure --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --prefix=/opt/local/gcc/4.5.2 Current binutils is in path. This is an error I am getting after a while: <...skiped...> checking for i386-pc-solaris2.10-gcc... /tmp/gcc-build/4.5.2/bld/./gcc/xgcc -B/tmp/gcc-build/4.5.2/bld/./gcc/ -B/opt/local/gcc/4.5.2/i386-pc-solaris2.10/bin/ -B/opt/local/gcc/4.5.2/i386-pc-solaris2.10/lib/ -isystem /opt/local/gcc/4.5.2/i386-pc-solaris2.10/include -isystem /opt/local/gcc/4.5.2/i386-pc-solaris2.10/sys-include -m64 checking for suffix of object files... configure: error: in `/tmp/gcc-build/4.5.2/bld/i386-pc-solaris2.10/amd64/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[2]: *** [configure-stage1-target-libgcc] Error 1 gmake[2]: Leaving directory `/tmp/gcc-build/4.5.2/bld' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/tmp/gcc-build/4.5.2/bld' gmake: *** [all] Error 2 Its strange that there is an option -m64 that appears in the command line.