forked from Bananymous/banan-os
BuildSystem: add rule to build libstdc++
We can now build libstdc++ and actually link with g++
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user