GNAT, SJLJ and zero-cost exception handling

Ludovic Brenta ludovic@ludovic-brenta.org
Sat Oct 14 13:41:00 GMT 2006


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.



More information about the Gcc mailing list