Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
2 | .\" | |
3 | .\" Standard preamble: | |
4 | .\" ======================================================================== | |
5 | .de Sh \" Subsection heading | |
6 | .br | |
7 | .if t .Sp | |
8 | .ne 5 | |
9 | .PP | |
10 | \fB\\$1\fR | |
11 | .PP | |
12 | .. | |
13 | .de Sp \" Vertical space (when we can't use .PP) | |
14 | .if t .sp .5v | |
15 | .if n .sp | |
16 | .. | |
17 | .de Vb \" Begin verbatim text | |
18 | .ft CW | |
19 | .nf | |
20 | .ne \\$1 | |
21 | .. | |
22 | .de Ve \" End verbatim text | |
23 | .ft R | |
24 | .fi | |
25 | .. | |
26 | .\" Set up some character translations and predefined strings. \*(-- will | |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left | |
28 | .\" double quote, and \*(R" will give a right double quote. | will give a | |
29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to | |
30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' | |
31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. | |
32 | .tr \(*W-|\(bv\*(Tr | |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' | |
34 | .ie n \{\ | |
35 | . ds -- \(*W- | |
36 | . ds PI pi | |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch | |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch | |
39 | . ds L" "" | |
40 | . ds R" "" | |
41 | . ds C` "" | |
42 | . ds C' "" | |
43 | 'br\} | |
44 | .el\{\ | |
45 | . ds -- \|\(em\| | |
46 | . ds PI \(*p | |
47 | . ds L" `` | |
48 | . ds R" '' | |
49 | 'br\} | |
50 | .\" | |
51 | .\" If the F register is turned on, we'll generate index entries on stderr for | |
52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index | |
53 | .\" entries marked with X<> in POD. Of course, you'll have to process the | |
54 | .\" output yourself in some meaningful fashion. | |
55 | .if \nF \{\ | |
56 | . de IX | |
57 | . tm Index:\\$1\t\\n%\t"\\$2" | |
58 | .. | |
59 | . nr % 0 | |
60 | . rr F | |
61 | .\} | |
62 | .\" | |
63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes | |
64 | .\" way too many mistakes in technical documents. | |
65 | .hy 0 | |
66 | .if n .na | |
67 | .\" | |
68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). | |
69 | .\" Fear. Run. Save yourself. No user-serviceable parts. | |
70 | . \" fudge factors for nroff and troff | |
71 | .if n \{\ | |
72 | . ds #H 0 | |
73 | . ds #V .8m | |
74 | . ds #F .3m | |
75 | . ds #[ \f1 | |
76 | . ds #] \fP | |
77 | .\} | |
78 | .if t \{\ | |
79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) | |
80 | . ds #V .6m | |
81 | . ds #F 0 | |
82 | . ds #[ \& | |
83 | . ds #] \& | |
84 | .\} | |
85 | . \" simple accents for nroff and troff | |
86 | .if n \{\ | |
87 | . ds ' \& | |
88 | . ds ` \& | |
89 | . ds ^ \& | |
90 | . ds , \& | |
91 | . ds ~ ~ | |
92 | . ds / | |
93 | .\} | |
94 | .if t \{\ | |
95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" | |
96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | |
97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | |
98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | |
99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | |
100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | |
101 | .\} | |
102 | . \" troff and (daisy-wheel) nroff accents | |
103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' | |
104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | |
105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | |
106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | |
107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | |
108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | |
109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | |
110 | .ds ae a\h'-(\w'a'u*4/10)'e | |
111 | .ds Ae A\h'-(\w'A'u*4/10)'E | |
112 | . \" corrections for vroff | |
113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' | |
114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | |
115 | . \" for low resolution devices (crt and lpr) | |
116 | .if \n(.H>23 .if \n(.V>19 \ | |
117 | \{\ | |
118 | . ds : e | |
119 | . ds 8 ss | |
120 | . ds o a | |
121 | . ds d- d\h'-1'\(ga | |
122 | . ds D- D\h'-1'\(hy | |
123 | . ds th \o'bp' | |
124 | . ds Th \o'LP' | |
125 | . ds ae ae | |
126 | . ds Ae AE | |
127 | .\} | |
128 | .rm #[ #] #H #V #F C | |
129 | .\" ======================================================================== | |
130 | .\" | |
131 | .IX Title "PERLIRIX 1" | |
132 | .TH PERLIRIX 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" | |
133 | .SH "NAME" | |
134 | README.irix \- Perl version 5 on Irix systems | |
135 | .SH "DESCRIPTION" | |
136 | .IX Header "DESCRIPTION" | |
137 | This document describes various features of Irix that will affect how Perl | |
138 | version 5 (hereafter just Perl) is compiled and/or runs. | |
139 | .Sh "Building 32\-bit Perl in Irix" | |
140 | .IX Subsection "Building 32-bit Perl in Irix" | |
141 | Use | |
142 | .PP | |
143 | .Vb 1 | |
144 | \& sh Configure -Dcc='cc -n32' | |
145 | .Ve | |
146 | .PP | |
147 | to compile Perl 32\-bit. Don't bother with \-n32 unless you have 7.1 | |
148 | or later compilers (use cc \-version to check). | |
149 | .PP | |
150 | (Building 'cc \-n32' is the default.) | |
151 | .Sh "Building 64\-bit Perl in Irix" | |
152 | .IX Subsection "Building 64-bit Perl in Irix" | |
153 | Use | |
154 | .PP | |
155 | .Vb 1 | |
156 | \& sh Configure -Dcc='cc -64' -Duse64bitint | |
157 | .Ve | |
158 | .PP | |
159 | This requires require a 64\-bit \s-1MIPS\s0 \s-1CPU\s0 (R8000, R10000, ...) | |
160 | .PP | |
161 | You can also use | |
162 | .PP | |
163 | .Vb 1 | |
164 | \& sh Configure -Dcc='cc -64' -Duse64bitall | |
165 | .Ve | |
166 | .PP | |
167 | but that makes no difference compared with the \-Duse64bitint because | |
168 | of the \f(CW\*(C`cc \-64\*(C'\fR. | |
169 | .PP | |
170 | You can also do | |
171 | .PP | |
172 | .Vb 1 | |
173 | \& sh Configure -Dcc='cc -n32' -Duse64bitint | |
174 | .Ve | |
175 | .PP | |
176 | to use long longs for the 64\-bit integer type, in case you don't | |
177 | have a 64\-bit \s-1CPU\s0. | |
178 | .PP | |
179 | If you are using gcc, just | |
180 | .PP | |
181 | .Vb 1 | |
182 | \& sh Configure -Dcc=gcc -Duse64bitint | |
183 | .Ve | |
184 | .PP | |
185 | should be enough, the Configure should automatically probe for the | |
186 | correct 64\-bit settings. | |
187 | .Sh "About Compiler Versions of Irix" | |
188 | .IX Subsection "About Compiler Versions of Irix" | |
189 | Some Irix cc versions, e.g. 7.3.1.1m (try cc \-version) have been known | |
190 | to have issues (coredumps) when compiling perl.c. If you've used | |
191 | \&\-OPT:fast_io=ON and this happens, try removing it. If that fails, or | |
192 | you didn't use that, then try adjusting other optimization options | |
193 | (\-LNO, \-INLINE, \-O3 to \-O2, etcetera). The compiler bug has been | |
194 | reported to \s-1SGI\s0. (Allen Smith <easmith@beatrice.rutgers.edu>) | |
195 | .Sh "Linker Problems in Irix" | |
196 | .IX Subsection "Linker Problems in Irix" | |
197 | If you get complaints about so_locations then search in the file | |
198 | hints/irix_6.sh for \*(L"lddflags\*(R" and do the suggested adjustments. | |
199 | (David Billinghurst <David.Billinghurst@riotinto.com.au>) | |
200 | .Sh "Malloc in Irix" | |
201 | .IX Subsection "Malloc in Irix" | |
202 | Do not try to use Perl's malloc, this will lead into very mysterious | |
203 | errors (especially with \-Duse64bitall). | |
204 | .Sh "Building with threads in Irix" | |
205 | .IX Subsection "Building with threads in Irix" | |
206 | Run Configure with \-Duseithreads which will configure Perl with | |
207 | the new Perl 5.8.0 \*(L"interpreter threads\*(R", see threads. | |
208 | .PP | |
209 | The old Perl 5.005 threads is obsolete, unmaintained, and its use is | |
210 | discouraged. If you really want it, run Configure with the | |
211 | \&\-Dusethreads \-Duse5005threads options as described in \s-1INSTALL\s0. | |
212 | .PP | |
213 | For either thread model and for Irix 6.2, you have to have the | |
214 | following patches installed: | |
215 | .PP | |
216 | .Vb 5 | |
217 | \& 1404 Irix 6.2 Posix 1003.1b man pages | |
218 | \& 1645 Irix 6.2 & 6.3 POSIX header file updates | |
219 | \& 2000 Irix 6.2 Posix 1003.1b support modules | |
220 | \& 2254 Pthread library fixes | |
221 | \& 2401 6.2 all platform kernel rollup | |
222 | .Ve | |
223 | .PP | |
224 | \&\fB\s-1IMPORTANT\s0\fR: Without patch 2401, a kernel bug in Irix 6.2 will cause | |
225 | your machine to panic and crash when running threaded perl. Irix 6.3 | |
226 | and later are okay. | |
227 | .PP | |
228 | .Vb 2 | |
229 | \& Thanks to Hannu Napari <Hannu.Napari@hut.fi> for the IRIX | |
230 | \& pthreads patches information. | |
231 | .Ve | |
232 | .Sh "Irix 5.3" | |
233 | .IX Subsection "Irix 5.3" | |
234 | While running Configure and when building, you are likely to get | |
235 | quite a few of these warnings: | |
236 | .PP | |
237 | .Vb 3 | |
238 | \& ld: | |
239 | \& The shared object /usr/lib/libm.so did not resolve any symbols. | |
240 | \& You may want to remove it from your link line. | |
241 | .Ve | |
242 | .PP | |
243 | Ignore them: in \s-1IRIX\s0 5.3 there is no way to quieten ld about this. | |
244 | .PP | |
245 | During compilation you will see this warning from toke.c: | |
246 | .PP | |
247 | .Vb 3 | |
248 | \& uopt: Warning: Perl_yylex: this procedure not optimized because it | |
249 | \& exceeds size threshold; to optimize this procedure, use -Olimit option | |
250 | \& with value >= 4252. | |
251 | .Ve | |
252 | .PP | |
253 | Ignore the warning. | |
254 | .PP | |
255 | In \s-1IRIX\s0 5.3 and with Perl 5.8.1 (Perl 5.8.0 didn't compile in \s-1IRIX\s0 5.3) | |
256 | the following failures are known. | |
257 | .PP | |
258 | .Vb 7 | |
259 | \& Failed Test Stat Wstat Total Fail Failed List of Failed | |
260 | \& -------------------------------------------------------------------------- | |
261 | \& ../ext/List/Util/t/shuffle.t 0 139 ?? ?? % ?? | |
262 | \& ../lib/Math/Trig.t 255 65280 29 12 41.38% 24-29 | |
263 | \& ../lib/sort.t 0 138 119 72 60.50% 48-119 | |
264 | \& 56 tests and 474 subtests skipped. | |
265 | \& Failed 3/811 test scripts, 99.63% okay. 78/75813 subtests failed, 99.90% okay. | |
266 | .Ve | |
267 | .PP | |
268 | They are suspected to be compiler errors (at least the shuffle.t | |
269 | failure is known from some \s-1IRIX\s0 6 setups) and math library errors | |
270 | (the Trig.t failure), but since \s-1IRIX\s0 5 is long since end\-of\-lifed, | |
271 | further fixes for the \s-1IRIX\s0 are unlikely. If you can get gcc for 5.3, | |
272 | you could try that, too, since gcc in \s-1IRIX\s0 6 is a known workaround for | |
273 | at least the shuffle.t and sort.t failures. | |
274 | .SH "AUTHOR" | |
275 | .IX Header "AUTHOR" | |
276 | Jarkko Hietaniemi <jhi@iki.fi> | |
277 | .PP | |
278 | Please report any errors, updates, or suggestions to \fIperlbug@perl.org\fR. |