This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: sjlj EH
- From: Zoltán Tóth <zotw1980 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 25 May 2013 19:59:27 +0200
- Subject: Re: sjlj EH
- References: <CAHjnBsBOtJpsBLz3rgVkYKo12ywnivX+6=_=3Lif-bxT96p71A at mail dot gmail dot com> <alpine dot DEB dot 2 dot 02 dot 1305251935050 dot 4040 at laptop-mg dot saclay dot inria dot fr>
But that needs one to alter the g++ installation right? That is why it
is called "configuration"?
I would like to provide my c++ source code with a make-file that
specifies sjlj EH, because I know it contains many 'throws', so it
needs cheap handling of exceptions. I may not be able to convince
users of my program to alter their g++ installation just in order to
compile my program.
I guess it should be technically possible, as GNAT provides this option:
http://gcc.gnu.org/onlinedocs/gcc-4.6.4/gnat_ugn_unw/Exception-Handling-Control.html
But I could not find such (run-time) option for g++.
On Sat, May 25, 2013 at 7:36 PM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Sat, 25 May 2013, Zoltán Tóth wrote:
>
>> Does g++ have an option to compile with sjlj exception handling?
>
>
> Look for "sjlj" on this page?
> http://gcc.gnu.org/install/configure.html
>
> --
> Marc Glisse