On 05/04/2010 16:10, Nathan Froyd wrote:
>
> Have you tried configuring with --enable-languages=c? Doing so should
> ensure that libstdc++ is not configured for your target.
I've found it possible to build a c++ compiler with no libstdc (as per other
post). Bare-metal COFF target, no libc; I configure using "--without-headers
--without-libs --with-newlib --disable-libc --disable-libssp --with-gnu-as
--with-gnu-ld --disable-sjlj-exceptions --disable-libstdc___v3
--enable-languages=c,c++".
I haven't verified how useful the thing actually is in practice with no
libstdc and no libsupc.
cheers,
DaveK