Help installing gcc in RHEL 6.4

Fernando Molina fmolina@qi.fcen.uba.ar
Fri Nov 1 16:55:00 GMT 2013


Ian Lance Taylor <iant <at> google.com> writes:

> 
> On Fri, Nov 1, 2013 at 7:19 AM, Fernando Molina <fmolina <at>
qi.fcen.uba.ar> wrote:
> 
> > checking for x86_64-unknown-linux-gnu-gcc...
> > /home/Fernando/Programas/gcc-build_4.8.2/./gcc/xgcc
> > -B/home/Fernando/Programas/gcc-build_4.8.2/./gcc/
> > -B/opt/gcc-4.8.2/x86_64-unknown-linux-gnu/bin/
> > -B/opt/gcc-4.8.2/x86_64-unknown-linux-gnu/lib/ -isystem
> > /opt/gcc-4.8.2/x86_64-unknown-linux-gnu/include -isystem
> > /opt/gcc-4.8.2/x86_64-unknown-linux-gnu/sys-include
> > checking for suffix of object files... configure: error: in
> > `/home/Fernando/Programas/gcc-build_4.8.2/x86_64-unknown-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]: se sale del directorio `/home/Fernando/Programas/gcc-build_4.8.2'
> > make[1]: *** [stage1-bubble] Error 2
> > make[1]: se sale del directorio `/home/Fernando/Programas/gcc-build_4.8.2'
> > make: *** [bootstrap] Error 2
> 
>
http://gcc.gnu.org/wiki/FAQ#Configuration_fails_with_.27.27configure:_error:_cannot_compute_suffix_of_object_files:_cannot_compile.27.27._What_is_the_problem.3F
> 
> Ian


Hi, Ian,

Thanks! I was looking into the wrong config.log file. The problem was
missing paths in ld.so.conf

Regards,

Fernando







More information about the Gcc-help mailing list