%general-entities; ]> uClibc-&uclibc-version; uClibc cross tools Installation of uClibc Since we are cross-compiling, we need to make sure when we configuration for our architecture we get the correct information. The following sed makes sure we are using the proper settings for our architecture: cp extra/Configs/Config.in extra/Configs/Config.in.orig sed -e "s:default TARGET_i386:default TARGET_mips:" \ extra/Configs/Config.in.orig > extra/Configs/Config.in cp extra/Configs/Config.mips extra/Configs/Config.mips.orig sed -e "s:default CONFIG_MIPS_ISA_1:default CONFIG_MIPS_ISA_${CLFS_MIPS_LEVEL}:" \ extra/Configs/Config.mips.orig > extra/Configs/Config.mips If your MIPS system is Big Endian, you will need at add the following lines to your configuration: echo "ARCH_ANY_ENDIAN=y" >> .config echo "ARCH_BIG_ENDIAN=y" >> .config echo "ARCH_WANTS_BIG_ENDIAN=y" >> .config If your MIPS system is Little Endian, you will need at add the following lines to your configuration: echo "ARCH_ANY_ENDIAN=y" >> .config echo "ARCH_LITTLE_ENDIAN=y" >> .config echo "ARCH_WANTS_LITTLE_ENDIAN=y" >> .config make TARGET_ARCH=mips oldconfig make CC="${CC} ${BUILD}" TARGET_ARCH=mips <para>Details on this package are located in <xref linkend="contents-uclibc" role="."/></para> </sect2> </sect1>