From 08b3d1047a7cbcfc963e45063b763c38128374fc Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 29 Aug 2002 19:11:37 +0000 Subject: [PATCH] * install.texi (hppa64-hp-hpux11*): Document installation procedure. From-SVN: r56660 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi | 36 +++++++++++++++++++++++++++++------- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab05242971d9..1c9311fa473a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-29 John David Anglin + + * install.texi (hppa64-hp-hpux11*): Document installation procedure. + 2002-08-29 Catherine Moore * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL, diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index b3b02fccb3c9..3f444bf98e1b 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2036,7 +2036,8 @@ longer a multiple of 2 bytes. We @emph{highly} recommend using gas/binutils 2.8 or newer on all hppa platforms; you may encounter a variety of problems when using the HP -assembler. +assembler. The HP assembler does not work with the @samp{hppa64-hp-hpux11*} +port. Specifically, @option{-g} does not work on HP-UX (since that system uses a peculiar debugging format which GCC does not know about), unless you @@ -2044,8 +2045,9 @@ use GAS and GDB and configure GCC with the @uref{./configure.html#with-gnu-as,,@option{--with-gnu-as}} and @option{--with-as=@dots{}} options. -If you wish to use pa-risc 2.0 architecture support, you must use either -the HP assembler, gas/binutils 2.11 or a recent +If you wish to use the pa-risc 2.0 architecture support with a 32-bit +runtime, you must use either the HP assembler, gas/binutils 2.11 or newer, +or a recent @uref{ftp://sources.redhat.com/pub/binutils/snapshots,,snapshot of gas}. There are two default scheduling models for instructions. These are @@ -2117,15 +2119,35 @@ bootstrap}. @end html @heading @anchor{hppa*-hp-hpux11}hppa*-hp-hpux11 -GCC 3.0 and up support HP-UX 11. You must use GNU binutils 2.11 or above on -this platform. Thread support is not currently implemented for this -platform, so @option{--enable-threads} does not work. -See @uref{http://gcc.gnu.org/ml/gcc-prs/2002-01/msg00551.html} +GCC 3.0 and up support HP-UX 11. On 64-bit capable systems, there +are two distinct ports. The @samp{hppa2.0w-hp-hpux11*} port generates +code for the 32-bit pa-risc runtime architecture. It uses the HP +linker and is currently the default selected by config.guess. The +optional @samp{hppa64-hp-hpux11*} port generates 64-bit code for the +pa-risc 2.0 architecture. It must be explicitly selected using the +@samp{--host=hppa64-hp-hpux11*} configure option. Different prefixes +must be used if both ports are to be installed on the same system. + +You must use GNU binutils 2.11 or above with the 32-bit port. Thread +support is not currently implemented, so @option{--enable-threads} does +not work. See @uref{http://gcc.gnu.org/ml/gcc-prs/2002-01/msg00551.html} and @uref{http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00663.html}. GCC 2.95.x is not supported under HP-UX 11 and cannot be used to compile GCC 3.0 and up. Refer to @uref{binaries.html,,binaries} for information about obtaining precompiled GCC binaries for HP-UX. +GNU binutils 2.13 or later is recommended with the 64-bit port. +The HP assembler is not supported. It is @emph{highly} recommended +that the GNU linker be used as well. Either binutils must be built +prior to gcc, or a binary distribution of gcc or binutils must be +obtained for the initial builds. When starting with a HP compiler, +it is preferable to use the ANSI compiler as the bundled compiler +only supports traditional C. Bootstrapping with the bundled compiler +is tested infrequently and problems often arise because of the subtle +differences in semantics between traditional and ISO C. There also +have been problems reported with various binary distributions. This +port still is undergoing significant development. + @html