Browse Source

--prefix=/usr explained

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 years ago
parent
commit
f36a666c5b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      chapter05/gcc-exp.xml

+ 5 - 0
chapter05/gcc-exp.xml

@@ -5,6 +5,11 @@
 This patch fixes a bug in gcc's linker concerning non-exported (weak) 
 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>
 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
 <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
 and C++ compilers and not the other available compilers as they are, on
 the average, not often used. If those other compilers are needed,
 the average, not often used. If those other compilers are needed,