Man page - perlirix(1)
Packages contas this manual
- perlhpux(1)
- perlgov(1)
- perlunicook(1)
- perlclib(1)
- perl5223delta(1)
- perlmodlib(1)
- perlrun(1)
- perllocale(1)
- perl5144delta(1)
- perlunifaq(1)
- perlclassguts(1)
- perlclass(1)
- perl5180delta(1)
- perlmod(1)
- perltodo(1)
- perl5263delta(1)
- perl5301delta(1)
- perlpragma(1)
- perl5125delta(1)
- perl5283delta(1)
- perlutil(1)
- perlcn(1)
- perl5142delta(1)
- perlpodspec(1)
- perl5202delta(1)
- perl561delta(1)
- perlsec(1)
- perl5244delta(1)
- perldiag(1)
- perlbot(1)
- perlfunc(1)
- perl5143delta(1)
- perl5342delta(1)
- perl5302delta(1)
- perl5343delta(1)
- perlhack(1)
- perl5122delta(1)
- perltrap(1)
- perldelta(1)
- perl5282delta(1)
- perlsyn(1)
- perl5124delta(1)
- perlpacktut(1)
- perl5101delta(1)
- perldtrace(1)
- perl5260delta(1)
- perlintern(1)
- perlreftut(1)
- perlfreebsd(1)
- perl5261delta(1)
- perl5280delta(1)
- perlpod(1)
- perl5203delta(1)
- perldeprecation(1)
- perl586delta(1)
- perl5240delta(1)
- perlreguts(1)
- perlre(1)
- perlriscos(1)
- perl5182delta(1)
- perlaix(1)
- perl5281delta(1)
- perlexperiment(1)
- perl58delta(1)
- perl5361delta(1)
- perl584delta(1)
- perlsolaris(1)
- perl5363delta(1)
- perl5241delta(1)
- perlperf(1)
- perlcygwin(1)
- perl5300delta(1)
- perl5401delta(1)
- perlvms(1)
- perlsecpolicy(1)
- perlxstypemap(1)
- perldocstyle(1)
- perlop(1)
- perl5362delta(1)
- perl5140delta(1)
- perlembed(1)
- perlbs2000(1)
- perlos400(1)
- perlrebackslash(1)
- perl5200delta(1)
- perlopentut(1)
- perlos2(1)
- perlstyle(1)
- perl56delta(1)
- perlfaq7(1)
- perldbmfilter(1)
- perlmodstyle(1)
- perl5222delta(1)
- perl5303delta(1)
- perl5181delta(1)
- perlcall(1)
- perl5381delta(1)
- perl5162delta(1)
- perlvar(1)
- perlxs(1)
- perlhaiku(1)
- perlsynology(1)
- perlnumber(1)
- perl5321delta(1)
- perl5243delta(1)
- perlamiga(1)
- perlref(1)
- perl5360delta(1)
- perl5161delta(1)
- perlunicode(1)
- perlapio(1)
- perltooc(1)
- perl588delta(1)
- perl5100delta(1)
- perldsc(1)
- perlgit(1)
- perlobj(1)
- perlmodinstall(1)
- perlopenbsd(1)
- perlbook(1)
- perl585delta(1)
- perlboot(1)
- perlfaq1(1)
- perlapi(1)
- perl5004delta(1)
- perl5121delta(1)
- perlretut(1)
- perlfaq3(1)
- perllexwarn(1)
- perl5224delta(1)
- perlipc(1)
- perliol(1)
- perl5221delta(1)
- perlglossary(1)
- perltoot(1)
- perl5382delta(1)
- perl5160delta(1)
- perlfaq9(1)
- perlxstut(1)
- perlpolicy(1)
- perlintro(1)
- perlandroid(1)
- perl5184delta(1)
- perl587delta(1)
- perlreref(1)
- perlreapi(1)
- perlhacktut(1)
- perluniintro(1)
- perlrecharclass(1)
- perlfaq6(1)
- perltw(1)
- perllol(1)
- perlfaq4(1)
- perldebtut(1)
- perlebcdic(1)
- perlko(1)
- perlqnx(1)
- perlhacktips(1)
- perlthrtut(1)
- perlvos(1)
- perl5340delta(1)
- perl5242delta(1)
- perlsub(1)
- perlform(1)
- perlnewmod(1)
- perl5141delta(1)
- perllinux(1)
- perldebguts(1)
- perl5120delta(1)
- perltoc(1)
- perlrequick(1)
- perlirix(1)
- perlfilter(1)
- perlport(1)
- perlfaq5(1)
- perlootut(1)
- perltie(1)
- perlfaq8(1)
- perl581delta(1)
- perldata(1)
- perl5163delta(1)
- perlartistic(1)
- perluniprops(1)
- perltru64(1)
- perl5201delta(1)
- perlinterp(1)
- perlpodstyle(1)
- perl5380delta(1)
- perl583delta(1)
- perlplan9(1)
- perlfaq2(1)
- perljp(1)
- perl5320delta(1)
- perlhist(1)
- perlunitut(1)
- perlos390(1)
- perldoc(1)
- perlmacosx(1)
- perlsource(1)
- perl5400delta(1)
- perlfork(1)
- perlhurd(1)
- perl5262delta(1)
- perl5220delta(1)
- perlmroapi(1)
- perlcheat(1)
- perlcommunity(1)
- perlfaq(1)
- perl5341delta(1)
- perlrepository(1)
- perl5123delta(1)
- perldebug(1)
- perlguts(1)
- perlwin32(1)
- perlgpl(1)
- perl582delta(1)
- perl589delta(1)
- perl5005delta(1)
apt-get install perl-doc
Manual
| PERLIRIX(1) | Perl Programmers Reference Guide | PERLIRIX(1) |
NAME
perlirix - Perl version 5 on Irix systems
DESCRIPTION
This document describes various features of Irix that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs.
Building 32-bit Perl in Irix
Use
sh Configure -Dcc='cc -n32'
to compile Perl 32-bit. Don't bother with -n32 unless you have 7.1 or later compilers (use cc -version to check).
(Building 'cc -n32' is the default.)
Building 64-bit Perl in Irix
Use
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 "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.
About Compiler Versions of Irix
Some Irix cc versions, e.g. 7.3.1.1m (try cc -version) have been known to have issues (coredumps) when compiling perl.c. If you've used -OPT:fast_io=ON and this happens, try removing it. If that fails, or you didn't use that, then try adjusting other optimization options (-LNO, -INLINE, -O3 to -O2, et cetera). The compiler bug has been reported to SGI. (Allen Smith <easmith@beatrice.rutgers.edu>)
Linker Problems in Irix
If you get complaints about so_locations then search in the file hints/irix_6.sh for "lddflags" and do the suggested adjustments. (David Billinghurst <David.Billinghurst@riotinto.com.au>)
Malloc in Irix
Do not try to use Perl's malloc, this will lead into very mysterious errors (especially with -Duse64bitall).
Building with threads in Irix
Run Configure with -Duseithreads which will configure Perl with the Perl 5.8.0 "interpreter threads", see threads.
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
2000 Irix 6.2 Posix 1003.1b support modules
2254 Pthread library fixes
2401 6.2 all platform kernel rollup
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.
Irix 5.3
While running Configure and when building, you are likely to get quite a few of these warnings:
ld:
The shared object /usr/lib/libm.so did not resolve any symbols.
You may want to remove it from your link line.
Ignore them: in IRIX 5.3 there is no way to quieten ld about this.
During compilation you will see this warning from toke.c:
uopt: Warning: Perl_yylex: this procedure not optimized because it
exceeds size threshold; to optimize this procedure, use -Olimit
option with value >= 4252.
Ignore the warning.
In IRIX 5.3 and with Perl 5.8.1 (Perl 5.8.0 didn't compile in IRIX 5.3) the following failures are known.
Failed Test Stat Wstat Total Fail Failed|Failing List
-----------------------------------------------------------------------
../ext/List/Util/t/shuffle.t 0 139 ?? ?? % ??
../lib/Math/Trig.t 255 65280 29 12 41.38% 24-29
../lib/sort.t 0 138 119 72 60.50% 48-119
56 tests and 474 subtests skipped.
Failed 3/811 test scripts, 99.63% okay. 78/75813 subtests failed,
99.90% okay.
They are suspected to be compiler errors (at least the shuffle.t failure is known from some IRIX 6 setups) and math library errors (the Trig.t failure), but since IRIX 5 is long since end-of-lifed, further fixes for the IRIX are unlikely. If you can get gcc for 5.3, you could try that, too, since gcc in IRIX 6 is a known workaround for at least the shuffle.t and sort.t failures.
AUTHOR
Jarkko Hietaniemi <jhi@iki.fi>
Please report any errors, updates, or suggestions to <https://github.com/Perl/perl5/issues>.
| 2025-07-27 | perl v5.40.1 |