aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-11-10 01:14:48 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-11-10 01:14:48 +0000
commit581d94049b9abee40dd4299f677b522233634527 (patch)
tree731f82cc4922f49ff87766098efe98a476530fc6 /gcc/doc
parentf7aa343f421a90fa4b83885ee526fe1626604def (diff)
downloadgcc-581d94049b9abee40dd4299f677b522233634527.zip
gcc-581d94049b9abee40dd4299f677b522233634527.tar.gz
gcc-581d94049b9abee40dd4299f677b522233634527.tar.bz2
pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
* pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16. * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define. (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas. * pa.c (output_millicode_call): Use symbol difference rather than $PIC_pcrel$0 when using HP assembler. * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or not elfos.h (i.e., gas) is being used. (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL, ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when using elfos.h. (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h. (DWARF2_ASM_LINE_DEBUG_INFO): Delete. (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not using elfos.h. (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h. (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Don't define when not using elfos.h. (ASM_DECLARE_RESULT): Don't define. * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler doesn't work on hppa64-hp-hpux11. (hppa*-hp-hpux11): Update. From-SVN: r58967
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi34
1 files changed, 22 insertions, 12 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 2c042c7..b0828e8 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2059,8 +2059,7 @@ 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. The HP assembler does not work with the @samp{hppa64-hp-hpux11*}
-port.
+assembler.
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
@@ -2162,16 +2161,27 @@ 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.
+The HP assembler has many limitations and is not recommended. For
+example, it does not support weak symbols or alias definitions.
+As a result, explicit template instantiations are required when
+using C++. Either the HP or GNU linker can be used but it may be
+necessary to use the GNU linker when dwarf2 exception support is
+implemented.
+
+There are several possible approaches to building the distribution.
+Binutils can be built first using the HP tools. Then, the GCC
+distribution can be built. The second approach is to build GCC
+first using the HP tools, then build binutils, then rebuild GCC.
+There have been problems with various binary distributions, so
+it is best not to start from a binary distribution.
+
+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.
+
+This port still is undergoing significant development.
@html
<hr />