%general-entities; ]> Glibc-&glibc-version; Glibc cross tools Installation of Glibc For NPTL enabled systems we will need to add the following lines to config.cache: echo "libc_cv_forced_unwind=yes" > config.cache echo "libc_cv_c_cleanup=yes" >> config.cache BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ ../glibc-&glibc-version;/configure --prefix=/tools \ --host=${LFS_TARGET} --build=${LFS_HOST} \ --disable-profile --enable-add-ons \ --with-tls --enable-kernel=2.6.0 --with-__thread \ --with-binutils=/cross-tools/bin --with-headers=/tools/include \ --cache-file=config.cache The meaning of the new configure options: BUILD_CC="gcc" This do ... CC="${LFS_TARGET}-gcc" This do ... AR="${LFS_TARGET}-ar" This do ... RANLIB="${LFS_TARGET}-ranlib" This do ... --disable-profile This do ... --enable-add-ons This do ... --with-tls This do ... --with-__thread This do ... --with-binutils=/cross-tools/bin This do ... --cache-file=config.cache This do ... During this stage the following warning might appear:
configure: WARNING: *** These auxiliary programs are missing or *** incompatible versions: msgfmt *** some features will be disabled. *** Check the INSTALL file for required versions.
The missing or incompatible msgfmt program is generally harmless. This msgfmt program is part of the Gettext package which the host distribution should provide. Compile the package: make Install the package: make install
<para>Details on this package are located in <xref linkend="contents-glibc" role="."/></para> </sect2> </sect1>