Changeset 586feb7 in clfs-sysroot for BOOK/final-preps/settingenviron.xml
- Timestamp:
- Jul 2, 2006, 12:45:15 PM (18 years ago)
- Branches:
- master
- Children:
- 940e6b3
- Parents:
- 89c10a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/settingenviron.xml
r89c10a9 r586feb7 13 13 <para os="a">Set up a good working environment by creating two new startup 14 14 files for the <command>bash</command> shell. While logged in as user 15 <systemitem class="username"> lfs</systemitem>, issue the following15 <systemitem class="username">clfs</systemitem>, issue the following 16 16 command to create a new <filename>.bash_profile</filename>:</para> 17 17 … … 20 20 EOF</userinput></screen> 21 21 22 <para os="c">When logged on as user <systemitem class="username"> lfs</systemitem>,22 <para os="c">When logged on as user <systemitem class="username">clfs</systemitem>, 23 23 the initial shell is usually a <emphasis>login</emphasis> shell which 24 24 reads the <filename>/etc/profile</filename> of the host (probably … … 42 42 <literal>set +h 43 43 umask 022 44 LFS=/mnt/lfs44 CLFS=/mnt/clfs 45 45 LC_ALL=POSIX 46 PATH=${ LFS}/cross-tools/bin:/bin:/usr/bin46 PATH=${CLFS}/cross-tools/bin:/bin:/usr/bin 47 47 export LFS LC_ALL PATH</literal> 48 48 EOF</userinput></screen> … … 56 56 the shell will always search the <envar>PATH</envar> when a program is to 57 57 be run. As such, the shell will find the newly compiled tools in 58 <filename class="directory">$ LFS${LFS}/cross-tools</filename> as soon as they are58 <filename class="directory">$CLFS${CLFS}/cross-tools</filename> as soon as they are 59 59 available without remembering a previous version of the same program in a 60 60 different location.</para> … … 66 66 mode 644 and directories with mode 755).</para> 67 67 68 <para os="h">The <envar> LFS</envar> variable should be set to the68 <para os="h">The <envar>CLFS</envar> variable should be set to the 69 69 chosen mount point.</para> 70 70 … … 80 80 the chroot environment.</para> 81 81 82 <para os="j">By putting <filename class="directory">${ LFS}/cross-tools/bin</filename>82 <para os="j">By putting <filename class="directory">${CLFS}/cross-tools/bin</filename> 83 83 at the beginning of the <envar>PATH</envar>, the cross-compiler 84 84 built in <xref linkend="chapter-cross-tools"/> will be picked up by
Note: See TracChangeset
for help on using the changeset viewer.