%general-entities; ]> Creating the $HOME/cross-tools Directory All programs compiled in will be installed under $HOME/cross-tools to keep them separate from the host programs. The programs compiled here are cross tools and will not be a part of the final LFS system. By keeping these programs in a separate directory, they can easily be discarded later after their use. Create the required directory by running the following as the lfs user: install -d $HOME/cross-tools The next step is to create a /cross-tools symlink on the host system. This will point to the newly-created directory in your home directory. Since normal users will not have permissions to write to the root tree, we need to exit the su and run the symlink command as root: exit LFSHOME=`su - lfs -c 'echo $HOME'` ln -s $LFSHOME/cross-tools / unset LFSHOME su - lfs TO BE REWRITTEN - The created symlink enables the toolchain to be compiled so that it always refers to /cross-tools, meaning that the compiler, assembler, and linker will work both in this chapter and this host architecture and in the next (when we are chrooted to the LFS partition).