Skip to content

Commit

Permalink
toolchain: Fix libstdc++-v3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 15, 2023
1 parent aa49bf7 commit 5e3a23e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,14 @@ RUN /usr/src/gcc-${GCC_VERSION}/configure \
--disable-nls \
--enable-languages=c,c++ \
--with-headers=/usr/src/newlib-${NEWLIB_VERSION}/newlib/libc/include \
--without-docdir
--without-docdir \
--with-newlib

RUN make -j$(nproc) all-gcc
RUN make -j$(nproc) all-target-libgcc
RUN make -j$(nproc) all-target-libstdc++-v3

# causes issues with newer GCC versions. Needs debugging
#RUN make -j$(nproc) all-target-libstdc++-v3

RUN make DESTDIR=/toolchain install-gcc install-target-libgcc
RUN make DESTDIR=/toolchain install-gcc install-target-libgcc install-target-libstdc++-v3
RUN ln -s i786-pc-xelix-gcc /toolchain/usr/bin/i786-pc-xelix-cc

WORKDIR /build/newlib
Expand Down

0 comments on commit 5e3a23e

Please sign in to comment.