[omniORB] Makefile for AIX

Peter Ledbrook p.ledbrook@psenterprise.com
Tue, 12 Oct 1999 14:45:01 +0100


Gary,

What's the problem with g++ and exceptions? Are there any other known major
problems with the gcc/AIX combination? We support several platforms, and I
have to say AIX is causing the most frustration :-(

Cheers,

Peter

"Gary D. Duzan" wrote:

>    The fix listed below is correct. However, since g++ doesn't do
> exceptions correctly with shared libraries and threads, the point is
> somewhat moot.
>    While I'm thinking of it, there is a possible optimization for
> sharedlibs on AIX. Since building object files for a shared library is
> the same as for a static library on AIX, it would be much faster to
> simply copy or link to the object files created in the parent directory
> and use them instead of doing the exact same compile twice. I actually
> added rules to do this to an earlier (2.5.0?) version, and it seemed to
> work fine.
>
>                                         Gary Duzan
>                                         GTE Laboratories
>
> p.s. It might also be worth it to grab "libtool" and use it for
> building libraries in general. That way the libtool maintainers get to
> worry about all the platform issues involved and the OmniORB folks can
> stick to writing top-notch ORB code.