Commit | Line | Data |
e4451f11 |
1 | Change config.ce. The makefile will automatically generate new |
2 | config.h. |
3 | |
4 | To generate a new Config.pm, delete config.h or |
5 | touch config.ce. |
6 | |
7 | The socket stuff has been rewritten so fds from ceio are used. This |
8 | makes it easy to use them as perl file handles. |
9 | |
10 | Socket and IO dlls compiled. Seem to work. |
11 | |
12 | The sequence for building a new target is: |
13 | |
47bcb90d |
14 | make -f Makefile.ce clean # clean up |
15 | make -f Makefile.ce all # build for target |
e4451f11 |
16 | |
47bcb90d |
17 | CROSS_NAME macro is provided to name your current cross compilation. |
18 | It is "wince" by default, but may be any other identifier to |
19 | differentiate and co-exist miscellaneous configurations. |
20 | So your command often will be |
21 | |
22 | make -f Makefile.ce all CROSS_NAME=[my-cross-name] |
23 | |
24 | It is implemented an easy way to build most of module extensions. |
25 | First, you need to do |
26 | |
27 | nmake host-install CROSS_NAME=[my-cross-name] |
28 | |
29 | This command will install a set of files into your perl directory. |
30 | That will allow you to do cross-compiling for your CE device. |
31 | Those files are C libraries, h-files, Cross.pm, Config.pm. Note |
32 | that it will use first found perl in your path. You should think about |
33 | your PATH variable and change it at your will before copying such files. |
34 | |
35 | After that to do cross-compiling you need to invoke |
36 | |
37 | perl -MCross Makefile.PL |
38 | |
39 | or |
40 | |
41 | perl -MCross=[my-cross-name] Makefile.PL |
42 | |
43 | to prepare Makefile, and then nmake, nmake install, as usually you do. |
44 | 'test' tartget is still not ready. |