BuildSystem: add rule to build libstdc++

We can now build libstdc++ and actually link with g++
This commit is contained in:
Bananymous
2023-06-02 18:39:42 +03:00
parent 8645c4c653
commit 2df7f8a1e5
3 changed files with 13 additions and 1 deletions

View File

@@ -6,6 +6,13 @@ GCC_VERSION="gcc-12.2.0"
cd $(dirname "$0")
if [[ -n $LIBSTDCPP ]]; then
cd build/${GCC_VERSION}/
make -j $(nproc) all-target-libstdc++-v3
make install-target-libstdc++-v3
exit 0
fi
if [[ -z $SYSROOT ]]; then
echo "You must set the SYSROOT environment variable" >&2
exit 1