This is the last commit to this repo until I figure out what went wrong

This commit is contained in:
kevadesu 2024-11-05 19:29:44 +01:00
parent 17e2d01d5e
commit 616bcac9df
3 changed files with 36 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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
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