Support for 32 bit development libraries on 64 bit CentOS

To support C/C++ 32 bit development libraries on CentOS-5.2 x86_64 arch the below devel packages are required:

yum install glibc-devel.i386 libstdc++-devel.i386

Below is example output of multilib support for gcc:

$ gcc -print-multi-lib; gcc -print-multi-os-directory; gcc -print-multi-os-directory -m32

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

CentOS 6.1

yum install glibc-devel.i686 works on CentOS 6.1