This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile options for libstdc++


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]