| 12345678910111213141516171819202122232425 | <sect1 id="ch05-creatingstage1dir"><title>Creating the $LFS/stage1 directory</title><?dbhtml filename="creatingstage1dir.html" dir="chapter05"?><para>All programs compiled in this chapter will be installed under <filenameclass="directory">$LFS/stage1</filename> to keep them separate from theprograms compiled in the next chapter. The programs compiled here are onlytemporary tools and won't be a part of the final LFS system and by keeping themin a separate directory, we can later easily throw them away. Create therequired directory by running the following:</para><para><screen><userinput>mkdir $LFS/stage1</userinput></screen></para><para>The next step is to create a "/stage1" symlink on the host system. Itwill point to the directory we just created on the LFS partition:</para><para><screen><userinput>ln -s $LFS/stage1 /</userinput></screen></para><para>This ensures our toolchain will look in the same place (i.e. /stage1)in both Chapters 5 and 6 (when we are inside the chroot). This is animportant concept to grasp. Don't worry if it's not clear right now, allwill make sense once we get into Chapter 6.</para></sect1>
 |