X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.irix;h=06819144dfca19ab709afbcafeac077e26fbc59e;hb=b5379b0df09a1d2f8fb44659104d41784790923d;hp=9cafd26f21309aff65dac8e411c918bfc1ca01fa;hpb=741e2d4047f355947faa0ca10d799b2e425a5282;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.irix b/README.irix index 9cafd26..0681914 100644 --- a/README.irix +++ b/README.irix @@ -25,10 +25,31 @@ or later compilers (use cc -version to check). =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. + +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,7 +71,7 @@ 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 Run Configure with -Duseithreads which will configure Perl with the new Perl 5.8.0 "interpreter threads", see L. @@ -68,7 +89,7 @@ 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: 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.