From efcb3933433838b71f3a4a53ec1ac6d899aaec0b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 3 May 2020 21:02:51 +0000 Subject: Make the new book git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/libstdc++.xml | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) (limited to 'chapter05/libstdc++.xml') diff --git a/chapter05/libstdc++.xml b/chapter05/libstdc++.xml index 66128aa8a..3a1b0f2bf 100644 --- a/chapter05/libstdc++.xml +++ b/chapter05/libstdc++.xml @@ -5,8 +5,8 @@ %general-entities; ]> - - + + gcc-libstdc++ @@ -14,11 +14,11 @@
&gcc-url;
- Libstdc++ from GCC-&gcc-version; + Libstdc++ from GCC-&gcc-version;, Pass 1 - + GCC - tools, libstdc++ + tools, libstdc++ pass 1 @@ -28,7 +28,8 @@ to compile C++ code (part of GCC is written in C++), but we had to defer its installation when we built - because it depends on glibc, which was not yet available in /tools. + because it depends on glibc, which was not yet available in the target + directory. @@ -61,10 +62,10 @@ cd build ../libstdc++-v3/configure \ --host=$LFS_TGT \ - --prefix=/tools \ + --build=$(../config.guess) \ + --prefix=/usr \ --disable-multilib \ - --disable-nls \ + --disable-nls \ --disable-libstdcxx-pch \ --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version; @@ -78,15 +79,7 @@ cd build instead of the one in /usr/bin. - + --disable-libstdcxx-pch @@ -114,7 +107,7 @@ cd build Install the library: -make install +make DESTDIR=$LFS install -- cgit v1.2.3-54-g00ecf