diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gcc-exp.xml | 4 | ||||
-rw-r--r-- | chapter05/gcc-inst.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index fe1a7d1e1..c158a1faf 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -9,13 +9,13 @@ the --enable-languages parameter can be omitted. </para> <para> -<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This +<userinput>ln -s ../usr/bin/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:</userinput> This +<userinput>ln -s ../bin/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 6a2ff538f..3103036e4 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -23,10 +23,10 @@ running the following commands: <userinput> gxx_include_dir=$LFS/usr/include/g++ install &&</userinput> <userinput>cd $LFS/lib &&</userinput> - <userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp + <userinput>ln -s ../usr/bin/cpp &&</userinput> <userinput>cd $LFS/usr/lib &&</userinput> - <userinput>ln -s gcc-lib/*/2.95.2.1/cpp + <userinput>ln -s ../bin/cpp &&</userinput> <userinput>cd $LFS/usr/bin &&</userinput> <userinput>ln -s gcc cc</userinput> |