1PERLEPOC(1)            Perl Programmers Reference Guide            PERLEPOC(1)
2
3
4

NAME

6       README.epoc - Perl for EPOC
7

SYNOPSIS

9       Perl 5 README file for the EPOC Release 5 operating system.
10

INTRODUCTION

12       EPOC is an OS for palmtops and mobile phones. For more informations
13       look at: http://www.symbian.com/
14
15       This is a port of perl to the epocemx SDK by Eberhard Mattes, which
16       itself uses the SDK by symbian. Essentially epocemx it is a POSIX look
17       alike environment for the EPOC OS.  For more information look at:
18       http://epocemx.sourceforge.net/
19
20       perl and epocemx runs on Epoc Release 5 machines: Psion 5mx, 5mx Pro,
21       Psion Revo, Psion Netbook and on the Ericsson M128. It may run on Epoc
22       Release 3 Hardware (Series 5 classic), too. For more information about
23       this hardware please refer to http://www.psion.com/
24
25       Vendors which like to have support for their devices are free to send
26       me a sample.
27

INSTALLING PERL ON EPOC

29       You can download a ready-to-install version from
30       http://www.oflebbe.de/oflebbe/perl/
31
32       You will need at least ~6MB free space in order to install and run
33       perl.
34
35       Please install the emxusr.sis package from http://epocemx.source
36       forge.net/ first.
37
38       Install perl.sis on the EPOC machine. If you do not know how to do
39       that, consult your PsiWin documentation.
40
41       Perl itself and its standard library is using 4 MB disk space.  Unicode
42       support and some other modules are left out. (For details, please look
43       into epoc/createpkg.pl). If you like to use these modules, you are free
44       to copy them from a current perl release.
45

STARTING PERL ON EPOC

47       Please use the epocemx shell to start perl. perl integrates with the
48       conventions of epocemx.
49
50       Editors on Epoc
51
52       A suitable text editor can be downloaded from symbian http://www.sym
53       bian.com/developer/downloads/files/editor.zip
54
55       Features of Perl on Epoc
56
57       The built-in function EPOC::getcwd returns the current directory.
58
59       Restrictions of Perl on Epoc
60
61       Features are left out, because of restrictions of the POSIX support in
62       EPOC:
63
64       ·   socket IO is only implemented poorly. You can only use sysread and
65           syswrite on them. The commands read, write, print, <> do not work
66           for sockets. This may change iff epocemx supports sockets.
67
68       ·   kill, alarm and signals. Do not try to use them. This may be impos‐
69           sible to implement on EPOC.
70
71       ·   select is missing.
72
73       ·   binmode does not exist. (No CR LF to LF translation for text files)
74
75       ·   EPOC does not handle the notion of current drive and current direc‐
76           tory very well (i.e. not at all, but it tries hard to emulate one).
77           See PATH.
78
79       ·   Heap is limited to 4MB.
80
81       ·   Dynamic loading is not implemented.
82
83       Compiling Perl 5 on the EPOC cross compiling environment
84
85       Sorry, this is far too short.
86
87       ·   You will need the epocemx SDK from Eberhard Mattes.
88
89       ·   Get the Perl sources from your nearest CPAN site.
90
91       ·   Unpack the sources.
92
93       ·   Build a native perl from this sources... Make sure to save the
94           miniperl executable as miniperl.native.
95
96           Start again from scratch
97
98                 cp epoc/* .
99                 ./Configure -S
100                 make
101                 cp miniperl.native miniperl
102                 touch miniperl.exe
103                 make
104                 perl createpkg.pl
105
106                 emxsis perl.pkg perl.sis
107

SUPPORT STATUS OF PERL ON EPOC

109       I'm offering this port "as is". You can ask me questions, but I can't
110       guarantee I'll be able to answer them. Since the port to epocemx is
111       quite new, please check the web for updates first.
112
113       Very special thanks to Eberhard Mattes for epocemx.
114

AUTHOR

116       Olaf Flebbe <olaf@oflebbe.de> http://www.oflebbe.de/oflebbe/perl/
117

LAST UPDATE

119       2003-01-18
120
121
122
123perl v5.8.8                       2006-01-07                       PERLEPOC(1)
Impressum