Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / man / man1 / perluts.1
CommitLineData
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 "PERLUTS 1"
132.TH PERLUTS 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide"
133.SH "NAME"
134perluts \- Perl under UTS
135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS"
137This document can be read \fIas is\fR: as \fI\s-1README\s0.uts\fR, or you
138can read it after you build your package using \*(L"man perluts\*(R".
139.PP
140The purpose is to help you build Perl for \s-1UTS\s0, which, if you
141follow these instructions, should be easy, and result in
142a solidly working installation.
143.SH "DESCRIPTION"
144.IX Header "DESCRIPTION"
145Perl 5.7.2 (Developmental) or Perl 5.8.x (forthcoming) for \s-1UTS\s0
146.SH "BUILDING PERL ON UTS"
147.IX Header "BUILDING PERL ON UTS"
148\&\s-1NOTE:\s0 Some sites have redefined the way uname works, and if yours
149does this, special steps must be taken so that Configure can
150recognize your system as a \s-1UTS\s0 system. To see if you are in
151this category, issue the command \*(L"uname \-a\*(R". It should look
152something like:
153.PP
154.Vb 1
155\& uts juno 4 4.4 9672 370
156.Ve
157.PP
158At any rate, the first field should be \*(L"uts\*(R". If this is not
159the case; supposing it is, say telcoUTS, create a script, uts/uname
160(i.e. uname, in the subdirectory \*(L"uts\*(R" of the main Perl source dir):
161 # uname
162 /usr/bin/uname \*(L"$@\*(R" | sed \-e 's/^telcoUTS/uts/'
163.PP
164and when you execute Configure, do it as below, except for adding
165PATH=uts:$PATH as a prefix. I.e. do:
166.PP
167.Vb 1
168\& PATH=uts:$PATH ./Configure ...
169.Ve
170.PP
171There is no need to do an interactive configure, just type
172.PP
173.Vb 1
174\& ./Configure -de [-Dusedevel] [-Doptimize=-g ] 2>&1 | tee Conf.out
175.Ve
176.PP
177\&\*(L"\-Dusedevel\*(R" may be required to configure Perl 5.7.2 non\-interactively.
178Use \-Doptimize=\-g if you want to run Perl under sdb or gdb, \s-1OR\s0
179if you want to be able to use the \-D command line flags to perl,
180which are occasionally useful in debugging perl scripts.
181.PP
182In this and the following steps, the \*(L"2>&1 | tee \s-1XXX\s0.out\*(R" records all
183output from the process, which will be useful if anything unexpected
184goes wrong.
185.PP
186Then do the compilation with
187.PP
188.Vb 1
189\& make 2>&1 | tee make.out
190.Ve
191.PP
192Finally, test using
193.PP
194.Vb 1
195\& make test 2>&1 | tee make-test.out
196.Ve
197.PP
198In the output, the only failures you should see should look like:
199.PP
200.Vb 15
201\& lib/Math/BigInt/t/bigfltpm.........Use of uninitialized value ...
202\& FAILED at test 57
203\& lib/Math/BigInt/t/bigintc..........ok
204\& lib/Math/BigInt/t/bigintpm.........FAILED at test 204
205\& lib/Math/BigInt/t/mbimbf...........Use of uninitialized value ...
206\& Illegal division by zero at ../lib/Math/BigInt/Calc.pm line 314.
207\& FAILED at test 71
208\& lib/Math/Complex...................exp: OVERFLOW
209\& FAILED at test 250
210\& lib/Math/Trig......................exp: OVERFLOW
211\& ok
212\& lib/Memoize/t/array................ok
213\& ...
214\& lib/Net/protoent...................ok
215\& lib/Net/servent....................FAILED at test 0
216.Ve
217.PP
218This means that everything passes except for some problems in the
219packages \*(L"Math::BigInt\*(R", \*(L"Math::Complex\*(R", and \*(L"Math::Trig\*(R".
220The lib/Net/servent failure seems to be a bug in the test
221program. To confirm this, from the main Perl source dir, do:
222.PP
223.Vb 1
224\& LD_LIBRARY_PATH=`pwd` ./perl -Ilib lib/Net/servent.t
225.Ve
226.PP
227and it should output
228.PP
229.Vb 4
230\& 1..3
231\& ok 1
232\& ok 2
233\& ok 3
234.Ve
235.SH "Installing the built perl on UTS"
236.IX Header "Installing the built perl on UTS"
237Run the command \*(L"make install\*(R"
238.SH "AUTHOR"
239.IX Header "AUTHOR"
240.Vb 3
241\& Hal Morris
242\& UTS Global LLC
243\& email: hom00@utsglobal.com
244.Ve