From 017a4f4aa2faef975f7dcc847b8914e86a4c4927 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 10 Mar 2001 04:27:56 +0000 Subject: [PATCH] Simplified symbolic link creation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@275 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/fileutils-inst.xml | 2 +- chapter05/gcc-exp.xml | 4 ++-- chapter05/gcc-inst.xml | 4 ++-- chapter05/kernel-exp.xml | 4 ++-- chapter05/kernel-inst.xml | 4 ++-- 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: make LDFLAGS=-static && make install && cd $LFS/usr/bin && - ln -s ../../bin/install install + ln -s ../../bin/install 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. -ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp: This +ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp: This creates the $LFS/lib/cpp symlink. Some packages explicitely try to find cpp in /lib. -ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp: This +ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp: This creates the $LFS/usr/lib/cpp symlink as there are packages that expect cpp to be in /usr/lib. 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:    gxx_include_dir=$LFS/usr/include/g++ install && cd $LFS/lib && - ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp + ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp && cd $LFS/usr/lib && - ln -s gcc-lib/*/2.95.2.1/cpp cpp + ln -s gcc-lib/*/2.95.2.1/cpp && cd $LFS/usr/bin && ln -s gcc cc 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. -ln -s ../src/linux/include/linux linux and -ln -s ../src/linux/include/asm asm: These +ln -s ../src/linux/include/linux and +ln -s ../src/linux/include/asm: 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:
cd $LFS/usr/include && - ln -s ../src/linux/include/linux linux && - ln -s ../src/linux/include/asm asm + ln -s ../src/linux/include/linux && + ln -s ../src/linux/include/asm