aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-exp.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-14 17:29:29 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-14 17:29:29 +0000
commitf36a666c5b31ee8b01e004b3600d4f9d6eaf5832 (patch)
tree4000098f17a317e9025266a407e8aded973103bb /chapter05/gcc-exp.xml
parent8d5735b35e715acd1ff0b6cd13c96e2aee9dfafc (diff)
--prefix=/usr explained
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-exp.xml')
-rw-r--r--chapter05/gcc-exp.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index 74c3a38ec..e5b1e93fe 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -5,6 +5,11 @@
This patch fixes a bug in gcc's linker concerning non-exported (weak)
symbols, which was brought to the surface by the new glibc.</para>
+<para><userinput>--prefix=usr:</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>
+
<para><userinput>--enable-languages=c,c++:</userinput> This only builds the C
and C++ compilers and not the other available compilers as they are, on
the average, not often used. If those other compilers are needed,