This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change warning "Unicode character is illegal" to more accurate description
[perl5.git] / README.epoc
... / ...
CommitLineData
1If you read this file _as_is_, just ignore the funny characters you
2see. It is written in the POD format (see pod/perlpod.pod) which is
3specially designed to be readable as is.
4
5=head1 NAME
6
7README.epoc - Perl for EPOC
8
9=head1 SYNOPSIS
10
11Perl 5 README file for the EPOC Release 5 operating system.
12
13=head1 INTRODUCTION
14
15EPOC is an OS for palmtops and mobile phones. For more informations look at:
16http://www.symbian.com/
17
18This is a port of perl to the epocemx SDK by Eberhard Mattes, which
19itself uses the SDK by symbian. Essentially epocemx it is a POSIX
20look alike environment for the EPOC OS. For more information look at:
21http://epocemx.sourceforge.net/
22
23perl and epocemx runs on Epoc Release 5 machines: Psion 5mx, 5mx Pro,
24Psion Revo, Psion Netbook and on the Ericsson M128. It may run on Epoc
25Release 3 Hardware (Series 5 classic), too. For more information about
26this hardware please refer to http://www.psion.com/
27
28Vendors which like to have support for their devices are free to send
29me a sample.
30
31=head1 INSTALLING PERL ON EPOC
32
33You can download a ready-to-install version from
34http://www.oflebbe.de/perl/perl5.html
35
36You will need at least ~6MB free space in order to install and run perl.
37
38Please install the emxusr.sis package from
39http://epocemx.sourceforge.net/ first.
40
41Install perl.sis on the EPOC machine. If you do not know how to do
42that, consult your PsiWin documentation.
43
44Perl itself and its standard library is using 4 MB disk space.
45Unicode support and some other modules are left out. (For details,
46please look into epoc/createpkg.pl). If you like to use these modules,
47you are free to copy them from a current perl release.
48
49=head1 STARTING PERL ON EPOC
50
51Please use the epocemx shell to start perl. perl integrates with the
52conventions of epocemx.
53
54=head2 Features of Perl on Epoc
55
56The built-in function EPOC::getcwd returns the current directory.
57
58=head2 Restrictions of Perl on Epoc
59
60Features are left out, because of restrictions of the POSIX support in
61EPOC:
62
63=over 4
64
65=item *
66
67socket IO is only implemented poorly. You can only use sysread and
68syswrite on them. The commands read, write, print, <> do not work for
69sockets. This may change iff epocemx supports sockets.
70
71=item *
72
73kill, alarm and signals. Do not try to use them. This may be
74impossible to implement on EPOC.
75
76=item *
77
78select is missing.
79
80=item *
81
82binmode does not exist. (No CR LF to LF translation for text files)
83
84=item *
85
86EPOC does not handle the notion of current drive and current
87directory very well (i.e. not at all, but it tries hard to emulate
88one). See PATH.
89
90=item *
91
92Heap is limited to 4MB.
93
94=item *
95
96Dynamic loading is not implemented.
97
98=back
99
100=head2 Compiling Perl 5 on the EPOC cross compiling environment
101
102Sorry, this is far too short.
103
104=over 4
105
106=item *
107
108You will need the epocemx SDK from Eberhard Mattes.
109
110=item *
111
112Get the Perl sources from your nearest CPAN site.
113
114=item *
115
116Unpack the sources.
117
118=item *
119
120Build a native perl from this sources... Make sure to save the
121miniperl executable as miniperl.native.
122
123Start again from scratch
124
125 cp epoc/* .
126 ./Configure -S
127 make
128 cp miniperl.native miniperl
129 touch miniperl.exe
130 make
131 perl createpkg.pl
132
133 emxsis perl.pkg perl.sis
134
135=back
136
137=head1 SUPPORT STATUS OF PERL ON EPOC
138
139I'm offering this port "as is". You can ask me questions, but I can't
140guarantee I'll be able to answer them. Since the port to epocemx is
141quite new, please check the web for updates first.
142
143Very special thanks to Eberhard Mattes for epocemx.
144
145=head1 AUTHOR
146
147Olaf Flebbe <olaf@oflebbe.de>
148http://www.oflebbe.de/perl/perl5.html
149
150=head1 LAST UPDATE
151
1522003-01-18
153
154=cut