diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2002-06-06 17:53:34 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2002-06-06 17:53:34 +0000 |
commit | c18d2610f1dcc4f9800f45bd9aa30080487c6313 (patch) | |
tree | 39ac6e4274f24dae1223051b1c5fc2613e5999e6 /chapter05/gcc-exp.xml | |
parent | 053ce5684fb35c6bdedd02f3d27606d58e3504fd (diff) |
fix up chapter 5 explanations
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-exp.xml')
-rw-r--r-- | chapter05/gcc-exp.xml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index d79d92c14..b0aabec83 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -5,7 +5,7 @@ This is the equivalent to make LDFLAGS=-static as we use with other packages to compile them statically.</para> -<para><userinput>--prefix=/usr:</userinput> This is NOT a typo. GCC hard +<para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard codes some paths while compiling and so we need to pass /usr as the prefix during ./configure. We pass the real install prefix during the make install command later.</para> @@ -18,13 +18,8 @@ the --enable-languages parameter can be omitted.</para> <para><userinput>--enable-threads=posix:</userinput> This enables C++ exception handling for multithreaded code.</para> -<para><userinput>ln -sf ../usr/bin/cpp:</userinput> This -creates the $LFS/lib/cpp symlink. Some packages explicitly try to find -cpp in /lib.</para> - -<para><userinput>ln -sf ../bin/cpp:</userinput> This -creates the $LFS/usr/lib/cpp symlink as there are packages that expect -cpp to be in /usr/lib.</para> +<para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This +creates the $LFS/static/bin/gcc symlink which some packages need.</para> </sect2> |