HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
Provider Implementation
Building Providers
Chapter 4 75
Building Providers
For detailed information on the following material, please refer to the
documentation for the HP-UX C++ compiler (aCC) and linker (ld) at
http://www.docs.hp.com/hpux/dev.
The provider C++ source file must be compiled with the aCC compiler.
The options are:
• -c (optional)
Causes the compiler to stop after thecompilation phase and generate
an object file output (.o) instead of continuing on to the link phase.
This flag is inserted automatically when using implicit rules in the
make utility (see the man page for make(1) for more information).
• -mt
Instructs the compiler to generate symbols and macros needed to
support multi-threaded operation
• +Z
Produces position independent code (PIC) necessary to build a
dynamic shared library
• +DAportable (PA only)
Generates code for any HP9000 hardware architecture (although the
generated code may execute slightly more slowly, this is strongly
recommended, because products compiled for specific architectures
must be generated for each architecture and packaged as separate
products or assingle products with multiple,architecture-specific file
sets)
• +DD64 (IA only)
Generates code using the LP64 model.
• -AP (PA only)
Turns off AA mode; uses the older classic C++ runtime libraries.
• -AA (IA only)
Turns on newly suppported ANSI C++ Standard features, such as
namespace std and the new C++ Standard Library.