Operating System Resources


AIX

Online References

Predefined Macros

Discussion Forums

Bug Reports


FreeBSD

Online References

Predefined Macros

Discussion Forums

Bug Reports


HP-UX

HP-UX 11i Releases

HP-UX version

uname

Architecture

Introduced

End of Sales

End of Factory Support

11i v3

B.11.31

IPF, PA

February 2007

December 31, 2012

December 31, 2017

11i v3

B.11.30

IPF, PA

Unknown

Unknown

Unknown

11i PT

B.11.24

IPF, PA

Unknown

Unknown

Unknown

11i v2

B.11.23

IPF, PA

September 2003

December 31, 2009

December 31, 2013

11i v1.6

B.11.22

IPF

Unknown

Unknown

Unknown

11i v1.5

B.11.20

IPF

Unknown

Unknown

Unknown

11i v1

B.11.11

PA

December 2000

December 31, 2009

December 31, 2013

11.0

B.11.00

 

November 1997

February 1, 2005

December 31, 2006

Sources: HP-UX Operating System Release History and comp.sys.hp.hpux FAQ

Online References

Predefined Macros

See the Predefined Macros section of the HP aCC 6 Programmers Guide for a (possibly) incomplete list of macros predefined by the compiler.

Starting with HP aCC 6.15, the compiler supports the -dM option to list the #define directives the preprocessor encounters as it translates a file.

See also the Bjørn Reese's list of Pre-defined Operating Systems Macros.

MACRO

HP aCC OPTION

DESCRIPTION

__hpux

 

Defined on all HP-UX versions.

__ia64

 

Defined on HP IPF hardware.

__hppa

 

Defined on PA-RISC hardware.

__unix

 

Defined on all HP-UX versions.

_BIG_ENDIAN

 

Defined on Big Endian versions of HP-UX (both IPF and PA-RISC).

_ILP32

+DD32

Defined when +DD32 is in effect.

_LP64, LP64

+DD64

Defined when +DD64 is in effect.

__HPACC_NOEH

+noeh

Defined when exceptions are disabled.

_HPUX_SOURCE, STDC_EXT

-ext

Defined when extensions are enabled.

_FPWIDETYPES

-fpwidetypes

Defined when extended and quad floating-point data types including __float80 are enabled.

_REENTRANT

-mt

Defined when compiling for thread safety.

_POSIX_C_SOURCE=199506L

-mt

 

_HPUX_SOURCE

-mt

 

_THREAD_SAFE

-AP -mt

 

_HP_NAMESPACE_STD

-AA

Defined when the C++ Standard Library is declared in namespace std.

Discussion Forums

Bug Reports


IRIX

Online References

Discussion Forums

Bug Reports


Linux

Online References

Discussion Forums

Bug Reports


Mac OS X

Online References

Discussion Forums

Bug Reports


Solaris

Online References

Discussion Forums

Bug Reports


Windows

Online References

Discussion Forums

Bug Reports


CategoryPlatform

  • No labels