1PERLRISCOS(1) Perl Programmers Reference Guide PERLRISCOS(1)
2
3
4
6 perlriscos - Perl version 5 for RISC OS
7
9 This document gives instructions for building Perl for RISC OS. It is
10 complicated by the need to cross compile. There is a binary version of
11 perl available from <http://www.cp15.org/perl/> which you may wish to
12 use instead of trying to compile it yourself.
13
15 You need an installed and working gccsdk cross compiler
16 <http://gccsdk.riscos.info/> and REXEN
17 <http://www.cp15.org/programming/>
18
19 Firstly, copy the source and build a native copy of perl for your host
20 system. Then, in the source to be cross compiled:
21
22 1.
23 $ ./Configure
24
25 2. Select the riscos hint file. The default answers for the rest of
26 the questions are usually sufficient.
27
28 Note that, if you wish to run Configure non-interactively (see the
29 INSTALL document for details), to have it select the correct hint
30 file, you'll need to provide the argument -Dhintfile=riscos on the
31 Configure command-line.
32
33 3.
34 $ make miniperl
35
36 4. This should build miniperl and then fail when it tries to run it.
37
38 5. Copy the miniperl executable from the native build done earlier to
39 replace the cross compiled miniperl.
40
41 6.
42 $ make
43
44 7. This will use miniperl to complete the rest of the build.
45
47 Alex Waugh <alex@alexwaugh.com>
48
49
50
51perl v5.38.2 2023-11-30 PERLRISCOS(1)