=head2 Building 64-bit Perl in Irix
Use
-
- sh Configure -Dcc='cc -64'
-to compiler Perl 64-bit.
+ sh Configure -Dcc='cc -64' -Duse64bitint
+
+This requires require a 64-bit MIPS CPU (R8000, R10000, ...)
+
+You can also use
+
+ sh Configure -Dcc='cc -64' -Duse64bitall
+
+but that makes no difference compared with the -Duse64bitint because
+of the C<cc -64>.
+
+You can also do
+
+ sh Configure -Dcc='cc -n32' -Duse64bitint
+
+to use long longs for the 64-bit integer type, in case you don't
+have a 64-bit CPU.
+
+If you are using gcc, just
+
+ sh Configure -Dcc=gcc -Duse64bitint
+
+should be enough, the Configure should automatically probe for the
+correct 64-bit settings.
=head2 About Compiler Versions of Irix
Do not try to use Perl's malloc, this will lead into very mysterious
errors (especially with -Duse64bitall).
-=head2 Building with threads
+=head2 Building with threads in Irix
Run Configure with -Duseithreads which will configure Perl with
-the new Perl 5.8.0 "interpreter threads", see L<threads>.
-
-The old Perl 5.005 threads is obsolete, unmaintained, and its use is
-discouraged. If you really want it, run Configure with the
--Dusethreads -Duse5005threads options as described in INSTALL.
+the Perl 5.8.0 "interpreter threads", see L<threads>.
-For either thread model and for Irix 6.2, you have to have the
-following patches installed:
+For Irix 6.2 with perl threads, you have to have the following
+patches installed:
1404 Irix 6.2 Posix 1003.1b man pages
1645 Irix 6.2 & 6.3 POSIX header file updates
2254 Pthread library fixes
2401 6.2 all platform kernel rollup
-IMPORTANT: Without patch 2401, a kernel bug in Irix 6.2 will cause
+B<IMPORTANT>: Without patch 2401, a kernel bug in Irix 6.2 will cause
your machine to panic and crash when running threaded perl. Irix 6.3
and later are okay.