This is the mail archive of the gcc@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: GNAT, SJLJ and zero-cost exception handling


Eric Botcazou writes:
> You need GCC 3.x or GCC 4.2 for GNAT SJLJ exceptions to work.

Do you mean that it does not work with GCC 4.1.1? That would be very
bad news.

>> From [2] it looks like this is a configure-time option only.
>
> [2] describes GCC SJLJ, which is not the same as GNAT SJLJ.

How different?  I was somehow suspecting that gnat1 supports both ZCX
and SJLJ, looks in system.ads, and decides what kind of assembly code
it needs to emit based on that.  Am I correct?  In that case, I need
just one compiler and two libgnats, right?

Thanks for the input!

-- 
Ludovic Brenta.


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