Libstdc++ is the standard C++ library needed to compile C++ code.
Download HTTP: https://mirror.csclub.uwaterloo.ca/gnu/gcc/gcc-15.2.0/gcc-15.2.0.tar.xz
Download SHA256 Sum: 438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e
Download Size: 98,688 KB
Estimated Disk Space: 832.5M
Estimated Build Time: less than 1.0 SBU
Binutils-2.46.0-pass1, GCC-15.2.0-pass1, Linux-7.0.3-headers, and Glibc-2.43-pass1
Prepare Libstdcpp for compilation:
Now Configure the Package, issue:
mkdir -v build
cd build
../libstdc++-v3/configure --host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-nls \
--disable-multilib \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/15.2.0
To Compile the Package, issue:
make
Now Install the Package, issue:
make DESTDIR=$LFS install
rm -v $LFS/usr/lib/lib{stdc++{,exp,fs},supc++}.la