Skip to content
Snippets Groups Projects
Commit ebcdd869 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #57 from ids1024/cpp

Build gcc with C++ support
parents e9c63253 7df21d6c
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ function recipe_build {
autoconf2.64
popd
./configure --host=${HOST} --target=${HOST} --prefix=/ --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers
make all-gcc all-target-libgcc
./configure --host=${HOST} --target=${HOST} --prefix=/ --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c,c++
make all-gcc all-target-libgcc all-target-libstdc++-v3
skip=1
}
......@@ -51,7 +51,7 @@ function recipe_clean {
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install-gcc install-target-libgcc
make DESTDIR="$dest" install-gcc install-target-libgcc install-target-libstdc++-v3
find "$dest"/{bin,libexec} -exec x86_64-elf-redox-strip {} ';' 2> /dev/null
ln -s "gcc" "$1/bin/cc"
skip=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment