Monday, November 23, 2015

Configure Error when compiling GCC 5.2.0 on CentOS 6.6

When I compile according to Compiling GNU 5.2.0 on CentOS 6

I've got this error.
configure: error: 
I suspect your system does not have 32-bit development libraries (libc and headers). 
If you have them, rerun configure with --enable-multilib. 
If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.

The solution is

# yum install glibc-devel*.i686

No comments: