Deprecate v-strings.
[p5sagit/p5-mst-13.2.git] / Cross / README
CommitLineData
6a809565 1Summary
2-------
58a21a9b 3
6a809565 4This is a patch set which adds cross-compilation to the perl
5buildsystem. It was built as a part of the Open Zaurus
6(http://www.openzaurus.com/) distribution. Most / All of the
e42fa77b 7arm compiler optimisations are "borrowed" from this excellent
8project.
6a809565 9
10The main target is arm-linux but I have also managed to
11successfully cross-compile perl for solaris x86 using the same
12buildsystem.
13
14We are currently dependent on an existing working local copy of
e42fa77b 15perl ** of the same version and revision ** which is available
16as /usr/bin/perl. This could be migrated to using native
17miniperl with some additional effort.
6a809565 18
19Obviously you need a working and tested cross-compiler for your
20build and target combination. The binary directory must be in
21your path.
22
231) You should be reading me (README) in perl-5.x.x/Cross
24
252) Make sure you are in the Cross directory.
26
273) Edit the file 'config' to contain your target platform information.
28
294) make patch ## This will patch the existing source-tree.
305) make perl ## Will make perl
31
32The Obvious Ommissions
33----------------------
34
35This does NOT perform any installation as site installation method will
36be dependant on the target arch and OS.
37
38make test will NOT work as the binaries and libraries will not execute.
39
40Due to space limitations on the Zaurus (it's a PDA) we do not provide
41documentation in the core - Therefore man pages are not even generated.
42
43 Note that the Cross/ directory is also used by a different
44 cross-compilation setup described in the INSTALL file, and
45 executed by Configure. There should be no conflicts since
46 it is unlikely both that cross-compilation setups are used
47 simultaneously.
48
49Enjoy!
50
51References
e42fa77b 52----------
6a809565 53Redvers Davies <red@criticalintegration.com>
54Open Zaurus http://www.openzaurus.org/
55Perl OZ Packages http://www.openzaurus.org/official/testing/feed/