diff --git a/Einrichter-as-LFS.sh b/Einrichter-as-LFS.sh index e3ad7ad..38377b1 100644 --- a/Einrichter-as-LFS.sh +++ b/Einrichter-as-LFS.sh @@ -169,7 +169,38 @@ function eal.install.cross-toolchain() { echo "OK" ;; esac + popd + pushd $LFS/sources/gcc/ + mkdir -v build + cd build + EIR_PKG=libstdcpp + eal.notification.buildconf + ../libstdc++-v3/configure \ + --host=$LFS_TGT \ + --build=$(../config.guess) \ + --prefix=/usr \ + --disable-multilib \ + --disable-nls \ + --disable-libstdcxx-pch \ + --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/14.2.0 + eal.notification.compiling + make + eal.notification.installing + make DESTDIR=$LFS install + rm -v $LFS/usr/lib/lib{stdc++{,exp,fs},supc++}.la + popd + EIR_PKG=M4 + tar -xvf m4-1.4.19.tar.xz + mv m4-1.4.19 m4 + pushd $LFS/sources/m4/ + eal.notification.buildconf + ./configure --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(build-aux/config.guess) + eal.notification.compiling + make + eal.notification.installing + make DESTDIR=$LFS install +} - -} main \ No newline at end of file diff --git a/README.md b/README.md index 9d26e52..1e188e5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ TylkoLinux, an LFS system ## Status -LFS v12.2-systemd book chapter: 5.4. +LFS v12.2-systemd book chapter: 5.6. ## To do ```md diff --git a/lfs-patch-list b/lfs-patch-list index 3c26c96..5841ed0 100644 --- a/lfs-patch-list +++ b/lfs-patch-list @@ -2,4 +2,5 @@ https://www.linuxfromscratch.org/patches/lfs/12.2/bzip2-1.0.8-install_docs-1.pat https://www.linuxfromscratch.org/patches/lfs/12.2/coreutils-9.5-i18n-2.patch https://www.linuxfromscratch.org/patches/lfs/12.2/expect-5.45.4-gcc14-1.patch https://www.linuxfromscratch.org/patches/lfs/12.2/glibc-2.40-fhs-1.patch -https://www.linuxfromscratch.org/patches/lfs/12.2/kbd-2.6.4-backspace-1.patch \ No newline at end of file +https://www.linuxfromscratch.org/patches/lfs/12.2/kbd-2.6.4-backspace-1.patch +https://www.linuxfromscratch.org/patches/downloads/m4/m4-1.4-gcc33-1.patch \ No newline at end of file