Mail Archives: djgpp/1999/10/27/12:37:20
On 27 Oct 99, at 9:43, Eli Zaretskii wrote:
>
> On Tue, 26 Oct 1999, Wynand Van Staden wrote:
>
> > I'm using gcc-2.8.1 as well as gpp-2.8.1
>
> If you need exceptions support, upgrade to the latest GCC version.
> Version 2.8.1 didn't support them very well.
>
> > what i read in some faq's was that exception handling wasn't
> > implemented fully in this version. save for using '-fsjlj-exceptions'.
> > but supposedely this is a 'cruder' method of exception handling. what i'd
> > like to know if it will reduce performance or does it have any other
> > "side-effects" that i should be aware of.
>
> -fsljlj-exceptions is dog slow. In addition, the whole support for
> exceptions (and, indeed, for most C++ features) is not very good in
> versions of GCC before 2.9x.
>
-fsjlj-exceptions worked with gcc-2.8.X. With egcs-1.1.X and
gcc-2.95.X it seems to be broken. At least I never was able to get any
example to work. Maybe it's needed to compile libgcc.a with this
option, but I don't know whether it is so. Fortunatelly it 's was not
needed as the default -fexceptions works. I had the same problems
also under Linux so it's not DJGPP specific.
Andris
- Raw text -