%general-entities; ]> uClibc-&uclibc-version; uClibc cross tools <para>The uClibc package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on.</para> </sect2> <sect2 role="installation"> <title>Installation of uClibc Below we are just telling uClibc to use its default configuration. For those who are more adventurous, you can use make menuconfig and do a more custom build for your uClibc installation. The following patch contains the default configurations for the architectures covered in this book: patch -Np1 -i ../&uclibc-configs-patch; Now we will copy the configuration file best matching this build and use that as the base: cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config The config is a basic working system, but there are some options that are architecture specifc that need to be set. The following command will only bring up items that need a value that we did not specify in our generic config file patch: make oldconfig Compile the package: make Install the package: make PREFIX=${CLFS} install Contents of uClibc Installed Programs Installed Libraries Installed Headers ld-uClibc.so.0 libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0, librt.so.0 To be written... Short Descriptions ld-uClibc The uClibc dynamic linker / loader ld-uClibc libc The C library libc libcrypt The cryptographic library libcrypt libdl The uClibc dynamic linker / loader library libdl libm The math library libm libpthread The POSIX thread library libpthread librt The clock and timer library librt