X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.hpux;h=7d0198353c75da4e514ccbe190cfabe17abb0c80;hb=6d5d7abf5a8b730704df06d4203cb1dba3ba4523;hp=47d1afc5ccaf1c90e8bc4a1311815eee016a6e93;hpb=4b19af017623bfa3bb72bb164598a517f586e0d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.hpux b/README.hpux index 47d1afc..7d01983 100644 --- a/README.hpux +++ b/README.hpux @@ -124,7 +124,7 @@ If these dependent libraries are not listed at shared library creation time, you will get fatal "Unresolved symbol" errors at run time when the library is loaded. -You may create a shared library that referers to another library, which +You may create a shared library that refers to another library, which may be either an archive library or a shared library. If this second library is a shared library, this is called a "dependent library". The dependent library's name is recorded in the main shared library, but it @@ -185,8 +185,8 @@ cannot be compiled, or that does not function as expected. =head2 Threaded Perl -It is impossible to compile a version of threaded Perl on any version of -HP-UX before 10.30, and it is strongly suggested that you be running on +It is possible to compile a version of threaded Perl on any version of +HP-UX before 10.30, but it is strongly suggested that you be running on HP-UX 11.00 at least. To compile Perl with threads, add -Dusethreads to the arguments of @@ -197,6 +197,13 @@ is listed before -lc in the list of libraries to link Perl with. As of the date of this document, Perl threads are not fully supported on HP-UX. +HP-UX versions before 10.30 require a seperate installation of a POSIX +threads library package. Two examples are the HP DCE package, available +on "HP-UX Hardware Extensions 3.0, Install and Core OS, Release 10.20, +April 1999 (B3920-13941)" or the Freely available PTH package, available +though worldwide HP-UX mirrors of precompiled packages +(e.g. http://hpux.tn.tudelft.nl/hppd/hpux/alpha.html) + =head2 64-bit Perl Beginning with HP-UX 11.00, programs compiled under HP-UX can take @@ -243,22 +250,22 @@ fix is currently available. =head2 perl -P and // -In HP-UX perl is compiled with flags that will cause problems if the +In HP-UX Perl is compiled with flags that will cause problems if the -P flag of Perl (preprocess Perl code with the C preprocessor before perl sees it) is used. The problem is that C, being a C++-style until-end-of-line comment, will disappear along with the remainder of the line. This means that common Perl constructs like - s/foo//; + s/foo//; will turn into illegal code - s/foo + s/foo -The workaround is to use some other quoting characters than /, -like for example ! +The workaround is to use some other quoting separator than C<"/">, +like for example C<"!">: - s!foo!!; + s!foo!!; =head1 AUTHOR @@ -268,6 +275,6 @@ With much assistance regarding shared libraries from Marc Sabatella. =head1 DATE -Version 0.6.1: 2000/06/20 +Version 0.6.2: 2001-02-02 =cut