This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compile options for libstdc++
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Yuxin Ren <ryx at gwmail dot gwu dot edu>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sat, 18 Jul 2015 00:03:38 +0100
- Subject: Re: compile options for libstdc++
- Authentication-results: sourceware.org; auth=none
- References: <CAAKbDrf=6orEPnh_3-s7L7R8rPNHP5vrZ5yGvwzLXboggoaWwg at mail dot gmail dot com>
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.