From f36a666c5b31ee8b01e004b3600d4f9d6eaf5832 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 14 Aug 2001 17:29:29 +0000 Subject: --prefix=/usr explained git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-exp.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter05') 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. +--prefix=usr: 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. + --enable-languages=c,c++: 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, -- cgit v1.2.3-54-g00ecf