Regen stuff.
[p5sagit/p5-mst-13.2.git] / README.irix
index dddb5ff..de06b00 100644 (file)
@@ -26,9 +26,30 @@ or later compilers (use cc -version to check).
 
 Use
        
-       sh Configure -Dcc='cc -64'
+       sh Configure -Dcc='cc -64' -Duse64bitint
 
-to compiler Perl 64-bit.
+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
 
@@ -50,9 +71,17 @@ hints/irix_6.sh for "lddflags" and do the suggested adjustments.
 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
 
-For Irix 6.2, you have to have the following patches installed:
+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.
+
+For either thread model and for Irix 6.2, 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
@@ -60,10 +89,13 @@ For Irix 6.2, you have to have the following patches installed:
         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.
 
+    Thanks to Hannu Napari <Hannu.Napari@hut.fi> for the IRIX
+    pthreads patches information.
+
 =head1 AUTHOR
 
 Jarkko Hietaniemi <jhi@iki.fi>