Changeset a0b95c2 for BOOK/final-preps
- Timestamp:
- Dec 2, 2006, 10:02:38 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 45683dc
- Parents:
- 7e7dd39
- Location:
- BOOK/final-preps
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/creatingcrossdir.xml
r7e7dd39 ra0b95c2 24 24 <screen><userinput>install -dv ${CLFS}/cross-tools</userinput></screen> 25 25 26 <para>The next step is to create a <filename27 class="symlink">/cross-tools</filename> symlink on the host system.28 This will point to the newly-created directory on the CLFS partition.29 Run this command as <systemitem class="username">root</systemitem> as well:</para>30 31 <screen><userinput>ln -sv ${CLFS}/cross-tools /</userinput></screen>32 33 <para>The symlink isn't technically necessary (though the book's34 instructions do assume its existence), but is there mainly for35 consistency (because /tools is also symlinked to ${CLFS}/tools) and to36 simplify the installation of the cross-compile tools.</para>37 38 26 </sect1> -
BOOK/final-preps/creatingtoolsdir.xml
r7e7dd39 ra0b95c2 26 26 <screen><userinput>install -dv ${CLFS}/tools</userinput></screen> 27 27 28 <para>The next step is to create a <filename class="symlink">/tools</filename>29 symlink on the host system. This will point to the newly-created directory30 on the CLFS partition. Run this command as <systemitem31 class="username">root</systemitem> as well:</para>32 33 <screen><userinput>ln -sv ${CLFS}/tools /</userinput></screen>34 35 <note>36 <para>The above command is correct. The <command>ln</command> command37 has a few syntactic variations, so be sure to check <command>info38 coreutils ln</command> and <filename>ln(1)</filename> before reporting39 what you may think is an error.</para>40 </note>41 42 <para>The created symlink enables the toolchain to be compiled so that43 it always refers to <filename class="directory">/tools</filename>,44 meaning that the compiler, assembler, and linker will work. This will45 provide a common place for our temporary tools system.</para>46 47 28 </sect1> -
BOOK/final-preps/settingenviron.xml
r7e7dd39 ra0b95c2 44 44 CLFS=/mnt/clfs 45 45 LC_ALL=POSIX 46 PATH= /cross-tools/bin:/bin:/usr/bin46 PATH=${CLFS}/cross-tools/bin:/bin:/usr/bin 47 47 export CLFS LC_ALL PATH</literal> 48 48 EOF</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.