1PERLRISCOS(1) Perl Programmers Reference Guide PERLRISCOS(1)
2
3
4
6 README.riscos - 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 ·
23
24
25 $ ./Configure
26
27 · Select the riscos hint file. The default answers for the rest of
28 the questions are usually sufficient.
29
30 Note that, if you wish to run Configure non-interactively (see the
31 INSTALL document for details), to have it select the correct hint
32 file, you'll need to provide the argument -Dhintfile=riscos on the
33 Configure command-line.
34
35 ·
36
37
38 $ make miniperl
39
40 · This should build miniperl and then fail when it tries to run it.
41
42 · Copy the miniperl executable from the native build done earlier to
43 replace the cross compiled miniperl.
44
45 ·
46
47
48 $ make
49
50 · This will use miniperl to complete the rest of the build.
51
53 Alex Waugh <alex@alexwaugh.com>
54
55
56
57perl v5.12.4 2011-06-07 PERLRISCOS(1)