PERLRISCOS(1)
β¨ NAME β¨
perlriscos β it's Perl version 5, but make it RISC OS π no cap.
π¦ DESCRIPTION π¦
okay bestie, so this doc is literally your step-by-step for building Perl for RISC OS. it's giving... complicated π and that's because you gotta cross-compile β yeah, exactly, the whole "build it somewhere else for somewhere else" situation.
good news tho!! there's a binary version of perl already sitting there at <https://www.cp15.org/perl/> and you may wish to use that instead of trying to compile it yourself. fr fr, sometimes the move is just taking the gift π
πΈ BUILD πΈ
so before anything, you need two things installed and working (not "kinda working", we need functioning bestie energy):
- GCCSDK cross-compiler β grab it at <https://www.riscos.info/downloads/gccsdk/latest/>
- REXEN β that's at <https://www.cp15.org/programming/>
got those? slay. now here's the whole sequence π
First, copy the source and build a native copy of perl for your host system. yes, a whole separate build for your own machine, it's part of the plan, trust.
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 β don't overthink it, just vibe with the defaults π
β οΈ little heads up: if you wish to runConfigurenon-interactively (see the INSTALL document for details), and you want it to select the correct hint file, you'll need to provide the argument-Dhintfile=riscoson theConfigurecommand-line. iykyk, that flag is doing the heavy lifting.
- then:
$ make miniperl
- okay so this should build
miniperl... and then fail when it tries to run it. π and that's fine!! that's literally the expected plot twist, don't panic. - Copy the
miniperlexecutable from the native build you did earlier and use it to replace the cross-compiledminiperl. swapping in the understudy, main character energy β¨ - now:
$ make
- and this one will use
miniperlto complete the rest of the build. π done, iconic, you ate.
π AUTHOR π
Alex Waugh <alex@alexwaugh.com> β thank you for your service π«Ά
and that's the whole page bestie!! this was perl v5.42.3, dated 2026-08-03, from the Perl Programmers Reference Guide. go forth and cross-compile, you absolute legend πβπ
π¦ where this page comes from
- fedora 43: perl-doc 5.42.3-524.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- fedora 44: perl-doc 5.42.3-525.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms