aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-03-10 04:27:56 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-03-10 04:27:56 +0000
commit017a4f4aa2faef975f7dcc847b8914e86a4c4927 (patch)
tree5e61f08c82143e6890d6cafc6be9d05121cef9ae /chapter05
parentceb35fb92751e6d17fd10add11469f32eac31392 (diff)
Simplified symbolic link creation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@275 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/fileutils-inst.xml2
-rw-r--r--chapter05/gcc-exp.xml4
-rw-r--r--chapter05/gcc-inst.xml4
-rw-r--r--chapter05/kernel-exp.xml4
-rw-r--r--chapter05/kernel-inst.xml4
5 files changed, 9 insertions, 9 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 6a8be0d35..fd3958874 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -15,7 +15,7 @@ Install Fileutils by running the following commands:
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
- <userinput>ln -s ../../bin/install install</userinput>
+ <userinput>ln -s ../../bin/install</userinput>
</literallayout></blockquote>
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index 0bed24ed1..f78113466 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -9,13 +9,13 @@ use the --enable-languages parameter.
</para>
<para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
cpp in /lib.
</para>
<para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
creates the $LFS/usr/lib/cpp symlink as there are packages that expect
cpp to be in /usr/lib.
</para>
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 551ef1dee..d2ba8f27e 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -22,10 +22,10 @@ running the following commands:
<userinput>&nbsp;&nbsp;&nbsp;gxx_include_dir=$LFS/usr/include/g++
install &amp;&amp;</userinput>
<userinput>cd $LFS/lib &amp;&amp;</userinput>
- <userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp
+ <userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp
&amp;&amp;</userinput>
<userinput>cd $LFS/usr/lib &amp;&amp;</userinput>
- <userinput>ln -s gcc-lib/*/2.95.2.1/cpp cpp
+ <userinput>ln -s gcc-lib/*/2.95.2.1/cpp
&amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>ln -s gcc cc</userinput>
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml
index 1ff6f17ee..e97e6a23e 100644
--- a/chapter05/kernel-exp.xml
+++ b/chapter05/kernel-exp.xml
@@ -20,8 +20,8 @@ needing later on.
</para>
<para>
-<userinput>ln -s ../src/linux/include/linux linux</userinput> and
-<userinput>ln -s ../src/linux/include/asm asm:</userinput> These
+<userinput>ln -s ../src/linux/include/linux</userinput> and
+<userinput>ln -s ../src/linux/include/asm:</userinput> These
commands create the linux and asm symlinks in the $LFS/usr/include
directory that point to the proper directories in the Linux source tree.
Packages that need kernel headers include them with lines like #include
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index 0d36fa1af..1087e9332 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -40,8 +40,8 @@ following commands:
<blockquote><literallayout>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
- <userinput>ln -s ../src/linux/include/linux linux &amp;&amp;</userinput>
- <userinput>ln -s ../src/linux/include/asm asm</userinput>
+ <userinput>ln -s ../src/linux/include/linux &amp;&amp;</userinput>
+ <userinput>ln -s ../src/linux/include/asm</userinput>
</literallayout></blockquote>