Building .h++ products with +DAportable

Article ID: 1094
Last updated: 29 Jan, 2008
Article ID: 1094
Last updated: 29 Jan, 2008
Revision: 1
Views: 4718
Posted: 11 May, 2001
by --
Updated: 29 Jan, 2008
by
Problem


The Rogue Wave .h++ products fail to build on HPUX 11 on a PA-RISC 1.1 system.




Cause


The libraries must be built with the compiler flag +DAportable rather than the flag +DA2.0N.




Action


To correct this problem, you must change the compiler flag from +DA2.0N to +DAportable. You will need to modify the following script file, {SPM-Root}/scripts/platform/hpux64_acc32.in, as described below:

# Shell script used as an input file to rwsetup
#  "aCC" (ACC) on HPUX 64 bit machines, builds 32 bit PA-RISC 2.0

# --- Compiler and OS Names ---
RWOPSYS=HPUX
RWCOMPILER=ACC32

# --- Compiler Settings ---
RWFIRST_CCOPTS=""
RWLAST_CCOPTS=""
RWFIRST_LINKOPTS=""
RWLAST_LINKOPTS=""

Change the line in RED to read: RWCPP="aCC +DAportable"

You can download the file hpux64_acc32.in, make the change, and click Save.
After you make this change, you must rebuild all the .h++ products.
RWCPP="aCC +DA2.0N"


This article was:   Helpful | Not helpful
Report an issue
Article ID: 1094
Last updated: 29 Jan, 2008
Revision: 1
Views: 4718
Posted: 11 May, 2001 by --
Updated: 29 Jan, 2008 by

Others in this category