I would like to thank the forum for helping. GCC 4.7.4 is running on my hardware, after 32 hours of compilation! 2015-09-25 15:49 GMT-03:00 Jonathan Wakely <jwakely.gcc@xxxxxxxxx>: > On 25 September 2015 at 19:03, Kai Ruottu wrote: >> 25.9.2015, 20:42, Renato Mendes kirjoitti: >>> >>> I have the following libs installed on my machine: >>> >>> /lib/libz.so.1 >>> /lib/libz.so.1.1.4 >>> /usr/lib/libz.so.1 >> >> >> No '/usr/lib/libz.so' ? I think the '/usr/lib/libz.so' should be a symlink >> to the '/lib/libz.so.1' > > That would typically be installed by a separate package, such as > zlib-devel or zlib-dev, but removing --with-system-zlib will work too.