compile options for libstdc++

Jonathan Wakely jwakely.gcc@gmail.com
Fri Jul 17 23:03:00 GMT 2015


On 17 July 2015 at 18:31, Yuxin Ren wrote:
> Hi,
>
> Can I compile libstdc++ library without exception handler support
> (without libgcc)?

Yes, it should work fine.

> Can I pass the -fno-exception flag when I can compile libstdc++ using g++?
> Are there any compile options that I must pass to gcc in order to
> compile libstdc++?

If you configure with --enable-cxx-flags=-fno-exceptions that should work.



More information about the Gcc-help mailing list