# EGLIBC-&eglibc-version; N32

## Installation of EGLIBC

    LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
    sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
      scripts/test-installation.pl
    unset LINKER

Tell EGLIBC to install its 32-bit libraries into `/lib32`:

    echo "slibdir=/lib32" >> configparms

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

## The meaning of the new configure option:

`--libexecdir=/usr/lib32/eglibc`

- This changes the location of the `getconf` program from its default of `/usr/libexec` to `/usr/lib32/eglibc`.

Details on this package are located in contents-eglibc