📄 perlhpux.1
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. \*(C+ will.\" give a nicer C++. Capital omega is used to do unbreakable dashes and.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.el \{\. de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "PERLHPUX 1".TH PERLHPUX 1 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"README.hpux \- Perl version 5 on Hewlett\-Packard Unix (HP\-UX) systems.SH "DESCRIPTION".IX Header "DESCRIPTION"This document describes various features of \s-1HP\s0's Unix operating system(HP-UX) that will affect how Perl version 5 (hereafter just Perl) iscompiled and/or runs..Sh "Using perl as shipped with HP-UX".IX Subsection "Using perl as shipped with HP-UX"Application release September 2001, HP-UX 11.00 is the first to shipwith Perl. By the time it was perl\-5.6.1 in /opt/perl. The firstoccurrence is on \s-1CD\s0 5012\-7954 and can be installed using.PP.Vb 1\& swinstall \-s /cdrom perl.Ve.PPassuming you have mounted that \s-1CD\s0 on /cdrom. In this version thefollowing modules were installed:.PP.Vb 8\& ActivePerl::DocTools\-0.04 HTML::Parser\-3.19 XML::DOM\-1.25\& Archive::Tar\-0.072 HTML::Tagset\-3.03 XML::Parser\-2.27\& Compress::Zlib\-1.08 MIME::Base64\-2.11 XML::Simple\-1.05\& Convert::ASN1\-0.10 Net\-1.07 XML::XPath\-1.09\& Digest::MD5\-2.11 PPM\-2.1.5 XML::XSLT\-0.32\& File::CounterFile\-0.12 SOAP::Lite\-0.46 libwww\-perl\-5.51\& Font::AFM\-1.18 Storable\-1.011 libxml\-perl\-0.07\& HTML\-Tree\-3.11 URI\-1.11 perl\-ldap\-0.23.Ve.PPThat build was a portable hppa\-1.1 multithread build that supports largefiles compiled with gcc\-2.9\-hppa\-991112..PPIf you perform a new installation, then (a newer) Perl will be installedautomatically. Preinstalled HP-UX systems now slao have more recent versionsof Perl and the updated modules..PPThe official (threaded) builds from \s-1HP\s0, as they are shipped on theApplication \s-1DVD/CD\s0's are available onhttp://www.software.hp.com/cgi\-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERLfor both PA-RISC and \s-1IPF\s0 (Itanium Processor Family). They are builtwith the \s-1HP\s0 ANSI-C compiler..Sh "Using perl from \s-1HP\s0's porting centre".IX Subsection "Using perl from HP's porting centre"\&\s-1HP\s0 porting centre tries very hard to keep up with customer demand andrelease updates from the Open Source community. Having precompiledPerl binaries available is obvious..PPThe \s-1HP\s0 porting centres are limited in what systems they are allowedto port to and they usually choose the two most recent \s-1OS\s0 versionsavailable. This means that at the moment of writing, there are onlyHP-UX 11.11 (pa-risc 2.0) and HP-UX 11.23 (Itanium 2) ports availableon the porting centres..PP\&\s-1HP\s0 has asked the porting centre to move Open Source binariesfrom /opt to /usr/local, so binaries produced since the startof July 2002 are located in /usr/local..PPOne of \s-1HP\s0 porting centres \s-1URL\s0's is http://hpux.connect.org.uk/The port currently available is built with \s-1GNU\s0 gcc..Sh "Compiling Perl 5 on HP-UX".IX Subsection "Compiling Perl 5 on HP-UX"When compiling Perl, you must use an \s-1ANSI\s0 C compiler. The C compilerthat ships with all HP-UX systems is a K&R compiler that should only beused to build new kernels..PPPerl can be compiled with either \s-1HP\s0's \s-1ANSI\s0 C compiler or with gcc. Theformer is recommended, as not only can it compile Perl with nodifficulty, but also can take advantage of features listed later thatrequire the use of \s-1HP\s0 compiler-specific command-line flags..PPIf you decide to use gcc, make sure your installation is recent andcomplete, and be sure to read the Perl \s-1INSTALL\s0 file for more gcc-specificdetails..Sh "PA-RISC".IX Subsection "PA-RISC"\&\s-1HP\s0's \s-1HP9000\s0 Unix systems run on \s-1HP\s0's own Precision Architecture(PA-RISC) chip. HP-UX used to run on the Motorola \s-1MC68000\s0 family ofchips, but any machine with this chip in it is quite obsolete and thisdocument will not attempt to address issues for compiling Perl on theMotorola chipset..PPThe most recent version of PA-RISC at the time of this document's lastupdate is 2.0. \s-1HP\s0 PA-RISC systems are usually refered to with modeldescription \*(L"\s-1HP\s0 9000\*(R". The last \s-1CPU\s0 in this series is the \s-1PA\-8900\s0.Support for PA-RISC architectured machines officially ends as shownin the following table:.PP.Vb 10\& PA\-RISC End\-of\-Life Roadmap\& +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\& | HP9000 | Superdome | PA\-8700 | Spring 2011 |\& | 4\-128 | | PA\-8800/sx1000 | Summer 2012 |\& | cores | | PA\-8900/sx1000 | 2014 |\& | | | PA\-8900/sx2000 | 2015 |\& +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\& | HP9000 | rp7410, rp8400 | PA\-8700 | Spring 2011 |\& | 2\-32 | rp7420, rp8420 | PA\-8800/sx1000 | 2012 |\& | cores | rp7440, rp8440 | PA\-8900/sx1000 | Autumn 2013 |\& | | | PA\-8900/sx2000 | 2015 |\& +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\& | HP9000 | rp44x0 | PA\-8700 | Spring 2011 |\& | 1\-8 | | PA\-8800/rp44x0 | 2012 |\& | cores | | PA\-8900/rp44x0 | 2014 |\& +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\& | HP9000 | rp34x0 | PA\-8700 | Spring 2011 |\& | 1\-4 | | PA\-8800/rp34x0 | 2012 |\& | cores | | PA\-8900/rp34x0 | 2014 |\& +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+.Ve.PPA complete list of models at the time the \s-1OS\s0 was built is in the file/usr/sam/lib/mo/sched.models. The first column corresponds to the lastpart of the output of the \*(L"model\*(R" command. The second column is thePA-RISC version and the third column is the exact chip type used.(Start browsing at the bottom to prevent confusion ;\-).PP.Vb 4\& # model\& 9000/800/L1000\-44\& # grep L1000\-44 /usr/sam/lib/mo/sched.models\& L1000\-44 2.0 PA8500.Ve.Sh "Portability Between PA-RISC Versions".IX Subsection "Portability Between PA-RISC Versions"An executable compiled on a PA-RISC 2.0 platform will not execute on a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -