Linux business57.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
Server IP : 199.188.201.191 & Your IP : 3.144.114.4
Domains :
Cant Read [ /etc/named.conf ]
User : derozboy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
pod /
Delete
Unzip
Name
Size
Permission
Date
Action
perl.pod
15.89
KB
-rw-r--r--
2023-05-18 21:34
perl5004delta.pod
54.92
KB
-rw-r--r--
2023-05-18 21:34
perl5005delta.pod
33.48
KB
-rw-r--r--
2023-05-18 21:34
perl5100delta.pod
54.23
KB
-rw-r--r--
2023-05-18 21:34
perl5101delta.pod
42.86
KB
-rw-r--r--
2023-05-18 21:34
perl5120delta.pod
87.18
KB
-rw-r--r--
2023-05-18 21:34
perl5121delta.pod
9.9
KB
-rw-r--r--
2023-05-18 21:34
perl5122delta.pod
9.38
KB
-rw-r--r--
2023-05-18 21:34
perl5123delta.pod
4
KB
-rw-r--r--
2023-05-18 21:34
perl5124delta.pod
3.59
KB
-rw-r--r--
2023-05-18 21:34
perl5125delta.pod
7.5
KB
-rw-r--r--
2023-05-18 21:34
perl5140delta.pod
140.94
KB
-rw-r--r--
2023-05-18 21:34
perl5141delta.pod
7.78
KB
-rw-r--r--
2023-05-18 21:34
perl5142delta.pod
6.73
KB
-rw-r--r--
2023-05-18 21:34
perl5143delta.pod
7.58
KB
-rw-r--r--
2023-05-18 21:34
perl5144delta.pod
6.18
KB
-rw-r--r--
2023-05-18 21:34
perl5160delta.pod
130.52
KB
-rw-r--r--
2023-05-18 21:34
perl5161delta.pod
6
KB
-rw-r--r--
2023-05-18 21:34
perl5162delta.pod
3.51
KB
-rw-r--r--
2023-05-18 21:34
perl5163delta.pod
3.99
KB
-rw-r--r--
2023-05-18 21:34
perl5180delta.pod
116.63
KB
-rw-r--r--
2023-05-18 21:34
perl5181delta.pod
6.44
KB
-rw-r--r--
2023-05-18 21:34
perl5182delta.pod
5.21
KB
-rw-r--r--
2023-05-18 21:34
perl5184delta.pod
4.53
KB
-rw-r--r--
2023-05-18 21:34
perl5200delta.pod
112.99
KB
-rw-r--r--
2023-05-18 21:34
perl5201delta.pod
10.64
KB
-rw-r--r--
2023-05-18 21:34
perl5202delta.pod
12.22
KB
-rw-r--r--
2023-05-18 21:34
perl5203delta.pod
9.17
KB
-rw-r--r--
2023-05-18 21:34
perl5220delta.pod
127.89
KB
-rw-r--r--
2023-05-18 21:34
perl5221delta.pod
10.51
KB
-rw-r--r--
2023-05-18 21:34
perl5222delta.pod
12.33
KB
-rw-r--r--
2023-05-18 21:34
perl5223delta.pod
8.26
KB
-rw-r--r--
2023-05-18 21:34
perl5224delta.pod
4.36
KB
-rw-r--r--
2023-05-18 21:34
perl5240delta.pod
63.41
KB
-rw-r--r--
2023-05-18 21:34
perl5241delta.pod
8.02
KB
-rw-r--r--
2023-05-18 21:34
perl5242delta.pod
4.02
KB
-rw-r--r--
2023-05-18 21:34
perl5243delta.pod
11.16
KB
-rw-r--r--
2023-05-18 21:34
perl5244delta.pod
4.4
KB
-rw-r--r--
2023-05-18 21:34
perl5260delta.pod
99.45
KB
-rw-r--r--
2023-05-18 21:34
perl5261delta.pod
7.74
KB
-rw-r--r--
2023-05-18 21:34
perl5262delta.pod
7.7
KB
-rw-r--r--
2023-05-18 21:34
perl5263delta.pod
6.9
KB
-rw-r--r--
2023-05-18 21:34
perl5280delta.pod
70.42
KB
-rw-r--r--
2023-05-18 21:34
perl561delta.pod
121.79
KB
-rw-r--r--
2023-05-18 21:34
perl56delta.pod
104.69
KB
-rw-r--r--
2023-05-18 21:34
perl581delta.pod
37.17
KB
-rw-r--r--
2023-05-18 21:34
perl582delta.pod
4.37
KB
-rw-r--r--
2023-05-18 21:34
perl583delta.pod
6.19
KB
-rw-r--r--
2023-05-18 21:34
perl584delta.pod
7.19
KB
-rw-r--r--
2023-05-18 21:34
perl585delta.pod
5.75
KB
-rw-r--r--
2023-05-18 21:34
perl586delta.pod
4.54
KB
-rw-r--r--
2023-05-18 21:34
perl587delta.pod
8.16
KB
-rw-r--r--
2023-05-18 21:34
perl588delta.pod
24.68
KB
-rw-r--r--
2023-05-18 21:34
perl589delta.pod
52.64
KB
-rw-r--r--
2023-05-18 21:34
perl58delta.pod
112.47
KB
-rw-r--r--
2023-05-18 21:34
perlaix.pod
19.96
KB
-rw-r--r--
2023-05-18 21:34
perlamiga.pod
5.61
KB
-rw-r--r--
2023-05-18 21:34
perlandroid.pod
7.69
KB
-rw-r--r--
2023-05-18 21:34
perlapi.pod
433.14
KB
-rw-r--r--
2023-05-18 21:34
perlapio.pod
18.83
KB
-rw-r--r--
2023-05-18 21:34
perlartistic.pod
6.85
KB
-rw-r--r--
2023-05-18 21:34
perlbook.pod
8.14
KB
-rw-r--r--
2023-05-18 21:34
perlboot.pod
294
B
-rw-r--r--
2023-05-18 21:34
perlbot.pod
304
B
-rw-r--r--
2023-05-18 21:34
perlbs2000.pod
7.87
KB
-rw-r--r--
2023-05-18 21:34
perlcall.pod
55.38
KB
-rw-r--r--
2023-05-18 21:34
perlce.pod
14.26
KB
-rw-r--r--
2023-05-18 21:34
perlcheat.pod
4.38
KB
-rw-r--r--
2023-05-18 21:34
perlclib.pod
9.39
KB
-rw-r--r--
2023-05-18 21:34
perlcn.pod
4.58
KB
-rw-r--r--
2023-05-18 21:34
perlcommunity.pod
7.05
KB
-rw-r--r--
2023-05-18 21:34
perlcygwin.pod
26.56
KB
-rw-r--r--
2023-05-18 21:34
perldata.pod
45.65
KB
-rw-r--r--
2023-05-18 21:34
perldbmfilter.pod
4.86
KB
-rw-r--r--
2023-05-18 21:34
perldebguts.pod
37.63
KB
-rw-r--r--
2023-05-18 21:34
perldebtut.pod
21.63
KB
-rw-r--r--
2023-05-18 21:34
perldebug.pod
38.34
KB
-rw-r--r--
2023-05-18 21:34
perldelta.pod
6.9
KB
-rw-r--r--
2023-05-18 21:34
perldeprecation.pod
17.74
KB
-rw-r--r--
2023-05-18 21:34
perldiag.pod
277.9
KB
-rw-r--r--
2023-05-18 21:34
perldos.pod
10.28
KB
-rw-r--r--
2023-05-18 21:34
perldsc.pod
25.01
KB
-rw-r--r--
2023-05-18 21:34
perldtrace.pod
7.77
KB
-rw-r--r--
2023-05-18 21:34
perlebcdic.pod
82.26
KB
-rw-r--r--
2023-05-18 21:34
perlembed.pod
36.32
KB
-rw-r--r--
2023-05-18 21:34
perlexperiment.pod
7.03
KB
-rw-r--r--
2023-05-18 21:34
perlfork.pod
13.04
KB
-rw-r--r--
2023-05-18 21:34
perlform.pod
16.22
KB
-rw-r--r--
2023-05-18 21:34
perlfreebsd.pod
1.57
KB
-rw-r--r--
2023-05-18 21:34
perlfunc.pod
383.75
KB
-rw-r--r--
2023-05-18 21:34
perlgit.pod
32.72
KB
-rw-r--r--
2023-05-18 21:34
perlgpl.pod
13.49
KB
-rw-r--r--
2023-05-18 21:34
perlguts.pod
136.06
KB
-rw-r--r--
2023-05-18 21:34
perlhack.pod
39.5
KB
-rw-r--r--
2023-05-18 21:34
perlhacktips.pod
54.21
KB
-rw-r--r--
2023-05-18 21:34
perlhacktut.pod
6.01
KB
-rw-r--r--
2023-05-18 21:34
perlhaiku.pod
1.47
KB
-rw-r--r--
2023-05-18 21:34
perlhist.pod
52.29
KB
-rw-r--r--
2023-05-18 21:34
perlhpux.pod
29.79
KB
-rw-r--r--
2023-05-18 21:34
perlhurd.pod
1.95
KB
-rw-r--r--
2023-05-18 21:34
perlintern.pod
53.29
KB
-rw-r--r--
2023-05-18 21:34
perlinterp.pod
32.9
KB
-rw-r--r--
2023-05-18 21:34
perlintro.pod
21.6
KB
-rw-r--r--
2023-05-18 21:34
perliol.pod
33.38
KB
-rw-r--r--
2023-05-18 21:34
perlipc.pod
69.17
KB
-rw-r--r--
2023-05-18 21:34
perlirix.pod
4.29
KB
-rw-r--r--
2023-05-18 21:34
perljp.pod
7.34
KB
-rw-r--r--
2023-05-18 21:34
perlko.pod
11.97
KB
-rw-r--r--
2023-05-18 21:34
perllexwarn.pod
355
B
-rw-r--r--
2023-05-18 21:34
perllinux.pod
1.45
KB
-rw-r--r--
2023-05-18 21:34
perllocale.pod
67.07
KB
-rw-r--r--
2023-05-18 21:34
perllol.pod
9.36
KB
-rw-r--r--
2023-05-18 21:34
perlmacos.pod
1001
B
-rw-r--r--
2023-05-18 21:34
perlmacosx.pod
11.78
KB
-rw-r--r--
2023-05-18 21:34
perlmod.pod
25.63
KB
-rw-r--r--
2023-05-18 21:34
perlmodinstall.pod
12.49
KB
-rw-r--r--
2023-05-18 21:34
perlmodlib.pod
74.69
KB
-rw-r--r--
2023-05-18 21:34
perlmodstyle.pod
22.05
KB
-rw-r--r--
2023-05-18 21:34
perlmroapi.pod
3.14
KB
-rw-r--r--
2023-05-18 21:34
perlnetware.pod
6.49
KB
-rw-r--r--
2023-05-18 21:34
perlnewmod.pod
10.78
KB
-rw-r--r--
2023-05-18 21:34
perlnumber.pod
8.16
KB
-rw-r--r--
2023-05-18 21:34
perlobj.pod
34.7
KB
-rw-r--r--
2023-05-18 21:34
perlootut.pod
26.16
KB
-rw-r--r--
2023-05-18 21:34
perlop.pod
133.06
KB
-rw-r--r--
2023-05-18 21:34
perlopenbsd.pod
1.18
KB
-rw-r--r--
2023-05-18 21:34
perlopentut.pod
9.23
KB
-rw-r--r--
2023-05-18 21:34
perlos2.pod
91.16
KB
-rw-r--r--
2023-05-18 21:34
perlos390.pod
15.31
KB
-rw-r--r--
2023-05-18 21:34
perlos400.pod
4.66
KB
-rw-r--r--
2023-05-18 21:34
perlpacktut.pod
50.08
KB
-rw-r--r--
2023-05-18 21:34
perlperf.pod
48.71
KB
-rw-r--r--
2023-05-18 21:34
perlplan9.pod
5
KB
-rw-r--r--
2023-05-18 21:34
perlpod.pod
21.68
KB
-rw-r--r--
2023-05-18 21:34
perlpodspec.pod
66.87
KB
-rw-r--r--
2023-05-18 21:34
perlpolicy.pod
25.03
KB
-rw-r--r--
2023-05-18 21:34
perlport.pod
85.55
KB
-rw-r--r--
2023-05-18 21:34
perlpragma.pod
5.05
KB
-rw-r--r--
2023-05-18 21:34
perlqnx.pod
6.52
KB
-rw-r--r--
2023-05-18 21:34
perlre.pod
118.07
KB
-rw-r--r--
2023-05-18 21:34
perlreapi.pod
29.62
KB
-rw-r--r--
2023-05-18 21:34
perlrebackslash.pod
31.07
KB
-rw-r--r--
2023-05-18 21:34
perlrecharclass.pod
47.88
KB
-rw-r--r--
2023-05-18 21:34
perlref.pod
34.48
KB
-rw-r--r--
2023-05-18 21:34
perlreftut.pod
18.35
KB
-rw-r--r--
2023-05-18 21:34
perlreguts.pod
37.43
KB
-rw-r--r--
2023-05-18 21:34
perlrepository.pod
509
B
-rw-r--r--
2023-05-18 21:34
perlrequick.pod
18.06
KB
-rw-r--r--
2023-05-18 21:34
perlreref.pod
14.4
KB
-rw-r--r--
2023-05-18 21:34
perlretut.pod
118.42
KB
-rw-r--r--
2023-05-18 21:34
perlriscos.pod
1.49
KB
-rw-r--r--
2023-05-18 21:34
perlrun.pod
52.29
KB
-rw-r--r--
2023-05-18 21:34
perlsec.pod
25.57
KB
-rw-r--r--
2023-05-18 21:34
perlsolaris.pod
29.12
KB
-rw-r--r--
2023-05-18 21:34
perlsource.pod
6.71
KB
-rw-r--r--
2023-05-18 21:34
perlstyle.pod
8.43
KB
-rw-r--r--
2023-05-18 21:34
perlsub.pod
71.26
KB
-rw-r--r--
2023-05-18 21:34
perlsymbian.pod
15
KB
-rw-r--r--
2023-05-18 21:34
perlsyn.pod
43.47
KB
-rw-r--r--
2023-05-18 21:34
perlsynology.pod
7.6
KB
-rw-r--r--
2023-05-18 21:34
perlthrtut.pod
45.37
KB
-rw-r--r--
2023-05-18 21:34
perltie.pod
37.7
KB
-rw-r--r--
2023-05-18 21:34
perltoc.pod
677.89
KB
-rw-r--r--
2023-05-18 21:34
perltodo.pod
376
B
-rw-r--r--
2023-05-18 21:34
perltooc.pod
294
B
-rw-r--r--
2023-05-18 21:34
perltoot.pod
294
B
-rw-r--r--
2023-05-18 21:34
perltrap.pod
10.37
KB
-rw-r--r--
2023-05-18 21:34
perltru64.pod
8.29
KB
-rw-r--r--
2023-05-18 21:34
perltw.pod
4.37
KB
-rw-r--r--
2023-05-18 21:34
perlunicode.pod
80.56
KB
-rw-r--r--
2023-05-18 21:34
perlunicook.pod
24.89
KB
-rw-r--r--
2023-05-18 21:34
perlunifaq.pod
13.33
KB
-rw-r--r--
2023-05-18 21:34
perluniintro.pod
37.44
KB
-rw-r--r--
2023-05-18 21:34
perluniprops.pod
278.62
KB
-rw-r--r--
2023-05-18 21:34
perlunitut.pod
7.76
KB
-rw-r--r--
2023-05-18 21:34
perlutil.pod
7.46
KB
-rw-r--r--
2023-05-18 21:36
perlvar.pod
76.53
KB
-rw-r--r--
2023-05-18 21:34
perlvms.pod
49.63
KB
-rw-r--r--
2023-05-18 21:34
perlvos.pod
3.75
KB
-rw-r--r--
2023-05-18 21:34
perlwin32.pod
38.38
KB
-rw-r--r--
2023-05-18 21:34
perlxs.pod
77.07
KB
-rw-r--r--
2023-05-18 21:34
perlxstut.pod
48.92
KB
-rw-r--r--
2023-05-18 21:34
perlxstypemap.pod
23.44
KB
-rw-r--r--
2023-05-18 21:34
Save
Rename
If you read this file _as_is_, just ignore the funny characters you see. It is written in the POD format (see pod/perlpod.pod) which is specifically designed to be readable as is. =head1 NAME perlce - Perl for WinCE =head1 Building Perl for WinCE =head2 WARNING B<< Much of this document has become very out of date and needs updating, rewriting or deleting. The build process was overhauled during the 5.19 development track and the current instructions as of that time are given in L</CURRENT BUILD INSTRUCTIONS>; the previous build instructions, which are largely superseded but may still contain some useful information, are left in L</OLD BUILD INSTRUCTIONS> but really need removing after anything of use has been extracted from them. >> =head2 DESCRIPTION This file gives the instructions for building Perl5.8 and above for WinCE. Please read and understand the terms under which this software is distributed. =head2 General explanations on cross-compiling WinCE =over =item * F<miniperl> is built. This is a single executable (without DLL), intended to run on Win32, and it will facilitate remaining build process; all binaries built after it are foreign and should not run locally. F<miniperl> is built using F<./win32/Makefile>; this is part of normal build process invoked as dependency from wince/Makefile.ce =item * After F<miniperl> is built, F<configpm> is invoked to create right F<Config.pm> in right place and its corresponding Cross.pm. Unlike Win32 build, miniperl will not have F<Config.pm> of host within reach; it rather will use F<Config.pm> from within cross-compilation directories. File F<Cross.pm> is dead simple: for given cross-architecture places in @INC a path where perl modules are, and right F<Config.pm> in that place. That said, C<miniperl -Ilib -MConfig -we 1> should report an error, because it can not find F<Config.pm>. If it does not give an error -- wrong F<Config.pm> is substituted, and resulting binaries will be a mess. C<miniperl -MCross -MConfig -we 1> should run okay, and it will provide right F<Config.pm> for further compilations. =item * During extensions build phase, a script F<./win32/buildext.pl> is invoked, which in turn steps in F<./ext> subdirectories and performs a build of each extension in turn. All invokes of F<Makefile.PL> are provided with C<-MCross> so to enable cross- compile. =back =head2 CURRENT BUILD INSTRUCTIONS (These instructions assume the host is 32-bit Windows. If you're on 64-bit Windows then change "C:\Program Files" to "C:\Program Files (x86)" throughout.) 1. Install EVC4 from http://download.microsoft.com/download/c/3/f/c3f8b58b-9753-4c2e-8b96-2dfe3476a2f7/eVC4.exe Use the key mentioned at http://download.cnet.com/Microsoft-eMbedded-Visual-C/3000-2212_4-10108490.html?tag=bc The installer is ancient and has a few bugs on the paths it uses. You will have to fix them later. Basically, some things go into "C:/Program Files/Windows CE Tools", others go into "C:/Windows CE Tools" regardless of the path you gave to the installer (the default will be "C:/Windows CE Tools"). Reboots will be required for the installer to proceed. Also .c and .h associations with Visual Studio might get overridden when installing EVC4. You have been warned. 2. Download celib from GitHub (using "Download ZIP") at https://github.com/bulk88/celib Extract it to a spaceless path but not into the perl build source. I call this directory "celib-palm-3.0" but in the GitHub snapshot it will be called "celib-master". Make a copy of the "wince-arm-pocket-wce300-release" folder and rename the copy to "wince-arm-pocket-wce400". This is a hack so we can build a CE 4.0 binary by linking in CE 3.0 ARM asm; the linker doesn't care. Windows Mobile/WinCE are backwards compatible with machine code like Desktop Windows. 3. Download console-1.3-src.tar.gz from http://sourceforge.net/projects/perlce/files/PerlCE%20support%20files/console/ Extract it to a spaceless path but not into the perl build source. Don't extract it into the same directory as celib. Make a copy of the "wince-arm-pocket-wce300" folder and rename the copy to "wince-arm-pocket-wce400". This is a hack so we can build a CE 4.0 binary by linking in CE 3.0 ARM asm; the linker doesn't care. Windows Mobile/WinCE are backwards compatible with machine code like Desktop Windows. 4. Open a command prompt, run your regular batch file to set the environment for desktop Visual C building, goto the perl source directory, cd into win32/, fill out Makefile, and do a "nmake all" to build a Desktop Perl. 5. Open win32/Makefile.ce in a text editor and do something similar to the following patch. -CELIBDLLDIR = h:\src\wince\celib-palm-3.0 -CECONSOLEDIR = h:\src\wince\w32console +CELIBDLLDIR = C:\sources\celib-palm-3.0 +CECONSOLEDIR = C:\sources\w32console Also change !if "$(MACHINE)" == "" MACHINE=wince-arm-hpc-wce300 #MACHINE=wince-arm-hpc-wce211 #MACHINE=wince-sh3-hpc-wce211 #MACHINE=wince-mips-hpc-wce211 #MACHINE=wince-sh3-hpc-wce200 #MACHINE=wince-mips-hpc-wce200 #MACHINE=wince-arm-pocket-wce300 #MACHINE=wince-mips-pocket-wce300 #MACHINE=wince-sh3-pocket-wce300 #MACHINE=wince-x86em-pocket-wce300 #MACHINE=wince-mips-palm-wce211 #MACHINE=wince-sh3-palm-wce211 #MACHINE=wince-x86em-palm-wce211 #MACHINE=wince-x86-hpc-wce300 #MACHINE=wince-arm-pocket-wce400 !endif to !if "$(MACHINE)" == "" #MACHINE=wince-arm-hpc-wce300 #MACHINE=wince-arm-hpc-wce211 #MACHINE=wince-sh3-hpc-wce211 #MACHINE=wince-mips-hpc-wce211 #MACHINE=wince-sh3-hpc-wce200 #MACHINE=wince-mips-hpc-wce200 #MACHINE=wince-arm-pocket-wce300 #MACHINE=wince-mips-pocket-wce300 #MACHINE=wince-sh3-pocket-wce300 #MACHINE=wince-x86em-pocket-wce300 #MACHINE=wince-mips-palm-wce211 #MACHINE=wince-sh3-palm-wce211 #MACHINE=wince-x86em-palm-wce211 #MACHINE=wince-x86-hpc-wce300 MACHINE=wince-arm-pocket-wce400 !endif so wince-arm-pocket-wce400 is the MACHINE type. 6. Use a text editor to open "C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\BIN\WCEARMV4.BAT". Look for if "%SDKROOT%"=="" set SDKROOT=... On a new install it is "C:\Windows CE Tools". Goto "C:\Windows CE Tools" in a file manager and see if "C:\Windows CE Tools\wce400\STANDARDSDK\Include\Armv4" exists on your disk. If not the SDKROOT need to be changed to "C:\Program Files\Windows CE Tools". Goto celib-palm-3.0\inc\cewin32.h, search for typedef struct _ABC { and uncomment the struct. 7. Open another command prompt, ensure PLATFORM is not set to anything already unless you know what you're doing (so that the correct default value is set by the next command), and run "C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\BIN\WCEARMV4.BAT" 8. In the WinCE command prompt you made with WCEARMV4.BAT, goto the perl source directory, cd into win32/ and run "nmake -f Makefile.ce". 9. The ARM perl interpreter (perl519.dll and perl.exe) will be in something like "C:\perl519\src\win32\wince-arm-pocket-wce400", with the XS DLLs in "C:\perl519\src\xlib\wince-arm-hpc-wce400\auto". To prove success on the host machine, run "dumpbin /headers wince-arm-pocket-wce400\perl.exe" from the win32/ folder and look for "machine (ARM)" in the FILE HEADER VALUES and "subsystem (Windows CE GUI)" in the OPTIONAL HEADER VALUES. =head2 OLD BUILD INSTRUCTIONS This section describes the steps to be performed to build PerlCE. You may find additional information about building perl for WinCE at L<http://perlce.sourceforge.net> and some pre-built binaries. =head3 Tools & SDK For compiling, you need following: =over 4 =item * Microsoft Embedded Visual Tools =item * Microsoft Visual C++ =item * Rainer Keuchel's celib-sources =item * Rainer Keuchel's console-sources =back Needed source files can be downloaded at L<http://perlce.sourceforge.net> =head3 Make Normally you only need to edit F<./win32/ce-helpers/compile.bat> to reflect your system and run it. File F<./win32/ce-helpers/compile.bat> is actually a wrapper to call C<nmake -f makefile.ce> with appropriate parameters and it accepts extra parameters and forwards them to C<nmake> command as additional arguments. You should pass target this way. To prepare distribution you need to do following: =over 4 =item * go to F<./win32> subdirectory =item * edit file F<./win32/ce-helpers/compile.bat> =item * run compile.bat =item * run compile.bat dist =back F<Makefile.ce> has C<CROSS_NAME> macro, and it is used further to refer to your cross-compilation scheme. You could assign a name to it, but this is not necessary, because by default it is assigned after your machine configuration name, such as "wince-sh3-hpc-wce211", and this is enough to distinguish different builds at the same time. This option could be handy for several different builds on same platform to perform, say, threaded build. In a following example we assume that all required environment variables are set properly for C cross-compiler (a special *.bat file could fit perfectly to this purpose) and your F<compile.bat> has proper "MACHINE" parameter set, to, say, C<wince-mips-pocket-wce300>. compile.bat compile.bat dist compile.bat CROSS_NAME=mips-wce300-thr "USE_ITHREADS=define" ^ "USE_IMP_SYS=define" "USE_MULTI=define" compile.bat CROSS_NAME=mips-wce300-thr "USE_ITHREADS=define" ^ "USE_IMP_SYS=define" "USE_MULTI=define" dist If all goes okay and no errors during a build, you'll get two independent distributions: C<wince-mips-pocket-wce300> and C<mips-wce300-thr>. Target C<dist> prepares distribution file set. Target C<zipdist> performs same as C<dist> but additionally compresses distribution files into zip archive. NOTE: during a build there could be created a number (or one) of F<Config.pm> for cross-compilation ("foreign" F<Config.pm>) and those are hidden inside F<../xlib/$(CROSS_NAME)> with other auxiliary files, but, and this is important to note, there should be B<no> F<Config.pm> for host miniperl. If you'll get an error that perl could not find Config.pm somewhere in building process this means something went wrong. Most probably you forgot to specify a cross-compilation when invoking miniperl.exe to Makefile.PL When building an extension for cross-compilation your command line should look like ..\miniperl.exe -I..\lib -MCross=mips-wce300-thr Makefile.PL or just ..\miniperl.exe -I..\lib -MCross Makefile.PL to refer a cross-compilation that was created last time. All questions related to building for WinCE devices could be asked in F<perlce-user@lists.sourceforge.net> mailing list. =head1 Using Perl on WinCE =head2 DESCRIPTION PerlCE is currently linked with a simple console window, so it also works on non-hpc devices. The simple stdio implementation creates the files F<stdin.txt>, F<stdout.txt> and F<stderr.txt>, so you might examine them if your console has only a limited number of cols. When exitcode is non-zero, a message box appears, otherwise the console closes, so you might have to catch an exit with status 0 in your program to see any output. stdout/stderr now go into the files F</perl-stdout.txt> and F</perl-stderr.txt.> PerlIDE is handy to deal with perlce. =head2 LIMITATIONS No fork(), pipe(), popen() etc. =head2 ENVIRONMENT All environment vars must be stored in HKLM\Environment as strings. They are read at process startup. =over =item PERL5LIB Usual perl lib path (semi-list). =item PATH Semi-list for executables. =item TMP - Tempdir. =item UNIXROOTPATH - Root for accessing some special files, i.e. F</dev/null>, F</etc/services>. =item ROWS/COLS - Rows/cols for console. =item HOME - Home directory. =item CONSOLEFONTSIZE - Size for console font. =back You can set these with cereg.exe, a (remote) registry editor or via the PerlIDE. =head2 REGISTRY To start perl by clicking on a perl source file, you have to make the according entries in HKCR (see F<ce-helpers/wince-reg.bat>). cereg.exe (which must be executed on a desktop pc with ActiveSync) is reported not to work on some devices. You have to create the registry entries by hand using a registry editor. =head2 XS The following Win32-Methods are built-in: newXS("Win32::GetCwd", w32_GetCwd, file); newXS("Win32::SetCwd", w32_SetCwd, file); newXS("Win32::GetTickCount", w32_GetTickCount, file); newXS("Win32::GetOSVersion", w32_GetOSVersion, file); newXS("Win32::IsWinNT", w32_IsWinNT, file); newXS("Win32::IsWin95", w32_IsWin95, file); newXS("Win32::IsWinCE", w32_IsWinCE, file); newXS("Win32::CopyFile", w32_CopyFile, file); newXS("Win32::Sleep", w32_Sleep, file); newXS("Win32::MessageBox", w32_MessageBox, file); newXS("Win32::GetPowerStatus", w32_GetPowerStatus, file); newXS("Win32::GetOemInfo", w32_GetOemInfo, file); newXS("Win32::ShellEx", w32_ShellEx, file); =head2 BUGS Opening files for read-write is currently not supported if they use stdio (normal perl file handles). If you find bugs or if it does not work at all on your device, send mail to the address below. Please report the details of your device (processor, ceversion, devicetype (hpc/palm/pocket)) and the date of the downloaded files. =head2 INSTALLATION Currently installation instructions are at L<http://perlce.sourceforge.net/>. After installation & testing processes will stabilize, information will be more precise. =head1 ACKNOWLEDGEMENTS The port for Win32 was used as a reference. =head1 History of WinCE port =over =item 5.6.0 Initial port of perl to WinCE. It was performed in separate directory named F<wince>. This port was based on contents of F<./win32> directory. F<miniperl> was not built, user must have HOST perl and properly edit F<makefile.ce> to reflect this. =item 5.8.0 wince port was kept in the same F<./wince> directory, and F<wince/Makefile.ce> was used to invoke native compiler to create HOST miniperl, which then facilitates cross-compiling process. Extension building support was added. =item 5.9.4 Two directories F<./win32> and F<./wince> were merged, so perlce build process comes in F<./win32> directory. =back =head1 AUTHORS =over =item Rainer Keuchel <coyxc@rainer-keuchel.de> provided initial port of Perl, which appears to be most essential work, as it was a breakthrough on having Perl ported at all. Many thanks and obligations to Rainer! =item Vadim Konovalov made further support of WinCE port. =item Daniel Dragan updated the build process during the 5.19 development track. =back