# EGLIBC-&eglibc-version; 32 Bit Libraries

## Installation of EGLIBC

    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
        ../eglibc-&eglibc-version;/configure --prefix=/usr \
        --disable-profile --enable-kernel=2.6.32 \
        --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32} \
        --enable-obsolete-rpc

In multilib, we tend to think that compiling for `${CLFS_TARGET32}` is not cross-compiling. EGLIBC takes the traditional view that if you are building for a different host then you are cross-compiling, so you won't be running the tests and therefore you don't need the locale files. When we run the tests, many will fail if the locale files are missing. The following sed allows these tests to succeed:

    sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-&eglibc-version;/localedata/Makefile

Details on this package are located in contents-eglibc