Toolchain: Build libstdc++ just after gcc and libgcc
This means... C++ userland programs!! Some parts of the standard library still have weird behavior. For example, do not try to use std::cout. That page-faults.
This commit is contained in:
parent
61753a6f51
commit
b6f2b41f1f
@ -57,4 +57,13 @@ make all-target-libgcc -j$(nproc) CFLAGS_FOR_TARGET='-g -O2 -mcmodel=large -mno-
|
|||||||
echo Installing GCC...
|
echo Installing GCC...
|
||||||
|
|
||||||
make install-gcc | filter-lines "gcc" "install"
|
make install-gcc | filter-lines "gcc" "install"
|
||||||
make install-target-libgcc | filter-lines "libgcc" "install"
|
make install-target-libgcc | filter-lines "libgcc" "install"
|
||||||
|
|
||||||
|
echo Building libstdc++...
|
||||||
|
|
||||||
|
$LUNA_ROOT/tools/sync-libc.sh # libstdc++ needs libc to be built
|
||||||
|
make all-target-libstdc++v3 -j$(nproc) | filter-lines "libstdc++" "build"
|
||||||
|
|
||||||
|
echo Installing libstdc++...
|
||||||
|
|
||||||
|
make install-target-libstdc++v3 | filter-lines "libstdc++" "install"
|
Loading…
Reference in New Issue
Block a user