Преглед на файлове

--prefix=/usr explained

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers преди 24 години
родител
ревизия
f36a666c5b
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  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) 
 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,