Platform Notes - HP-UX PA-RISC

64 bit:

We do not support gcc to make 64 bit binaries on PA-RISC. Please consider using acc or producing 32 bit binaries. This is due to a bug in the compiler toolchain - there seems to be a mismatch between gcc and the HP-UX native 64 bit linker.

HP-UX 11.*:

may need linker patch PHSS_30969 (HP-UX 11.00) or PHSS_30970 (HP-UX 11.11).

HP-UX 11.*:

ships with a faulty /usr/include/resolv.h, which results in a linker error involving getres(). HP has released patches for it, PHCO_26111 (HP-UX 11.00) and PHCO_31923 (HP-UX 11.11).

HP-UX 11.* designer crash when using exceptions:

if you encounter problems with designer on this platform either:

HP-UX 11.11:

ships with a faulty /usr/include/sys/socket.h, which makes many C++ programs fail to compile. HP has released a patch for it, PHNE_31247.

HP-UX 10.20:

ships with a faulty /usr/include/sys/time.h, which makes many C++ programs fail to compile. HP has released a patch for it, PHKL_8693/PHKL_8694.

HP-UX 10.*:

thread support on HP-UX 10.* is not possible or supported since the POSIX 1003.1c Pthreads interfaces are not available.

HP-UX 10.*:

needs the latest linker patch PHSS_21110.

libXmu:

is needed for OpenGL support. If you get the error message

/usr/ccs/bin/ld: DP relative code in file ....

when linking a shared Qt library you have to install the shared versions of libXmu and libXaw. HP have released patches for it, PHSS_29369/PHSS_29370 on HP-UX 11.00 (64-bit), PHSS_31000/PHSS_31001 on HP-UX 11.11, and PHSS_31834 on HP-UX 11.23.

gcc 2.95.* / GCC 3.* on HP-UX:

gives compilation error ANSI C++ forbids declaration ... with no type on systems with old X11 header files. This is fixed by patches PHSS_31001 on HP-UX 11.11, PHSS_30261 on HP-UX 11.00, and PHSS_29127 on HP-UX 10.20.

Alternatively, on Qt 2 you may change files configs/hpux-g++-* from

SYSCONF_CXXFLAGS_X11       = -I/usr/include/X11R6
    
to
	SYSCONF_CXXFLAGS_X11       = -isystem /usr/include/X11R6
before issuing a new configure command.


Copyright 2008, Trolltech ASA