On 02/09/18 22:18 +0300, Adrian Stratulat wrote:
Hello,

II tried compiling avr-gcc (AVR 8-bit target) with libstdcxx support,
and even if I set the configure parameters to be "disable-shared" and
"enable-static", the "configure" step fails because it checks for
dlopen() support in avrlibc (which doesn't exist).

Why has nobody noticed this problem before? You're not the first
person to build avr-gcc. Does nobody else build libstdc++ for AVR?

I see that in the newlib case, the failing step is skipped, so I've
just added branch to the condition, to skip the same check for
avrlibc.

That seems reasonable.

Please double-check this patch, as it's my first commit to the GCC
project, and I had to manually adjust a couple of things for the
regeneration step to work out.

Has it been tested? Does it work?


Reply via email to