summaryrefslogtreecommitdiff
path: root/README.hpux
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-04-17 14:43:38 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-17 12:45:42 +0000
commit2be3a5525d8b4fa0f0a8b310efd278694f4d88cf (patch)
treed805498df877481b9b29995c574fe2311bdbfa6b /README.hpux
parent2dc05cb3282201fede2c9e308d34d135c6e7e723 (diff)
downloadperl-2be3a5525d8b4fa0f0a8b310efd278694f4d88cf.tar.gz
gcc on HP
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020417124159.66F5.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15968
Diffstat (limited to 'README.hpux')
-rw-r--r--README.hpux18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.hpux b/README.hpux
index c21e20a33f..f07ad5844e 100644
--- a/README.hpux
+++ b/README.hpux
@@ -254,6 +254,21 @@ flag -Aa is added to the cpprun and cppstdin variables in the config.sh
file (though see the section on 64-bit perl below). If you are using a
recent version of the Perl distribution, these flags are set automatically.
+=head2 The GNU C Compiler
+
+When you are going to use the GNU C compiler (gcc), and you don't have
+gcc yet, you can either build it yourself from the sources (available
+from e.g. http://www.gnu.ai.mit.edu/software/gcc/releases.html) or fetch
+a prebuilt binary from the HP porting center. There are two places where
+gcc prebuilds can be fetched the first and best (for HP-UX 11 only) is
+http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
+the second is http://hpux.cs.utah.edu/hppd/hpux/Gnu/ where you can also
+find the GNU binutils package.
+
+Building a 64bit capable gcc from source is possible only when you have
+the HP C-ANSI C compiler available, which you should use anyway when
+building perl.
+
=head2 Using Large Files with Perl on HP-UX
Beginning with HP-UX version 10.20, files larger than 2GB (2^31 bytes)
@@ -263,7 +278,8 @@ using the -Duselargefiles flag to Configure. This causes Perl to be
compiled using structures and functions in which these are 64 bits wide,
rather than 32 bits wide. (Note that this will only work with HP's ANSI
C compiler. If you want to compile Perl using gcc, you will have to get
-a version of the compiler that support 64-bit operations.)
+a version of the compiler that support 64-bit operations. See above for
+where to find it)
There are some drawbacks to this approach. One is that any extension
which calls any file-manipulating C function will need to be recompiled