On 3/11/22 18:59, Jonathan Wakely wrote:

Thanks. Now I'm getting a build failure because libtol wasn't created
in the avr/libstdc++-v3 directory of the build tree, but I'll have to
look into that next week.

/bin/sh: ../libtool: No such file or directory

Here's my configure call:

$REPO_DIR/configure \
    --prefix=$PREFIX \
    --target=avr \
    --enable-languages=c,c++ \
    --with-dwarf2 \
    --enable-multilib \
    --enable-libstdcxx \
    --disable-decimal-float \
    --disable-libffi \
    --disable-libgomp \
    --disable-libmudflap \
    --disable-libquadmath \
    --disable-libssp \
    --disable-libstdcxx-pch \
    --disable-nls \
    --without-included-gettext \
    --disable-libstdcxx-verbose \
    --disable-shared \
    --disable-threads \
    --disable-tls \
    --disable-plugin \
    --with-system-zlib \
    --with-native-system-header-dir=$PREFIX/port/include \
    --with-headers=yes \
    --with-gnu-as \
    --with-gnu-ld \
    --with-avrlibc \
    --with-build-time-tools=$PREFIX/lib/avr/bin

--disable-threads is probably wrong, as I definitly have threads
(any ISR counts as thread).  I added it in the (wrong) assumption
that it would build support for std::thread...

  Detlef

Reply via email to