[Patches] [ python-Patches-439848 ] Generic AIX C++ Module Support

noreply@sourceforge.net noreply@sourceforge.net
Mon, 09 Jul 2001 14:12:03 -0700


Patches item #439848, was opened at 2001-07-09 14:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=439848&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Generic AIX C++ Module Support

Initial Comment:
The current support for C++ modules on AIX is out of
date and incompatible with more recent compiler
versions. Depending on which compiler is being used,
the "load.h" include could be in any of at least three
places, which may or may not be in the include path.
Since only a single prototype is required, it is
identical in all versions, and isn't likely to change,
the simplest way to deal with the issue is to simply
include the one prototype in the configuration and the
dynload module. Also, the symbol is always going to
live in /usr/lib/libC.a, so a simple -lC is sufficient
to pull it in. I've tested it with C Set++ 3.1.4 on AIX
4.2.1 and VACPP 5.0 on AIX 4.3.3 (the two extremes,
more or less) and it works fine.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=439848&group_id=5470