PERLRISCOS(1perl)
π¦ perlriscos β Perl version 5 for RISC OS π¦
okay bestie, so this is perlriscos, aka the whole lore on getting Perl version 5 running on RISC OS. skibidi-adjacent retro computing era, no cap π
β¨ DESCRIPTION β¨
This doc is your step-by-step for building Perl for RISC OS. ngl, it's giving complicated because you literally have to cross-compile β that's the whole vibe here π«
BUT WAIT. There's already a binary version of perl out there that someone built for you:
and honestly? you may wish to use that instead of trying to compile it yourself. like, you can compile it, but bestie, why fight π
π₯ BUILD π₯
First things first, the prerequisites. You need:
- an installed and working GCCSDK cross-compiler β grab it here: https://www.riscos.info/downloads/gccsdk/latest/
- and REXEN β grab that here: https://www.cp15.org/programming/
fr fr, "working" is doing a lot of heavy lifting in that sentence. if GCCSDK isn't working, none of this is working π
Now, the actual process. First, copy the source and build a native copy of perl for your host system. Yes, host system. That native build is gonna come back later and save you β main character energy π
Then, in the source to be cross-compiled:
- Run this:
$ ./Configure
- Select the RISC OS hint file (
hints/riscos.sh). The default answers for the rest of the questions are usually sufficient. slay, just hit enter β¨
Note that, if you wish to run Configure non-interactively (see the INSTALL document for details), to have it select the correct hint file, you'll need to provide the argument -Dhintfile=riscos on the Configure command-line.
- Then:
$ make miniperl
- This should build
miniperland then fail when it tries to run it. and that is expected, bestie. this is not a bug, this is the plot π - Copy the
miniperlexecutable from the native build you did earlier to replace the cross-compiledminiperl. yeah β the one from step one. she's back, she's the moment π - Then:
$ make
- This will use
miniperlto complete the rest of the build. and that's the whole thing. periodt. π
π AUTHOR π
Alex Waugh <alex@alexwaugh.com>
this page is perl v5.44.0, dated 2026-10-17, brought to you by Perl Programmers Reference Guide β ty for coming to my TED talk, now go cross-compile something, ily π«Άπ
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms