gcc 3.2 for AIX 4.3: C++ Exceptions

Daniel.Weidner@saf-ag.com Daniel.Weidner@saf-ag.com
Wed Sep 4 05:17:00 GMT 2002


Hi,

Does anyone know how to make C++ exceptions work with gcc 3.2 on AIX.
I downloaded the binary distribution of gcc 3.2 for AIX 4.3 at
http://aixpdslib.seas.ucla.edu/packages/gcc.html
and it seems to call the abort() function as soon as an exception is thrown.

Example: the following program should be running without "IOTAbort..."

int main() 
{ 
    try 
    { 
        throw 0; 
    } 
    catch (...) 
    { 
    } 
} 

I think that the problem could be specific to my local AIX installation, but
as I'm neither gcc- nor AIX-guru I don't know how to tweak it right :-(

So if You are a gcc or AIX expert, I need Your advice, please!

Cheers, Daniel.



More information about the Gcc-help mailing list