]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | README for Makefile.wine | |
3 | ||
4 | With thanks to anpaza, I got this very basic Makefile to use wine and evc to | |
5 | build pocketpc arm binary programs, so I don't have to boot into windows just | |
6 | for building linexec. | |
7 | ||
8 | ||
9 | So what do you need? | |
10 | (Guns, lots of guns) | |
11 | ==================== | |
12 | ||
13 | - WINE | |
14 | I didn't know if there's any specific version you'll need, my WINE just | |
15 | work straight away. | |
16 | ||
17 | ||
18 | - EVC | |
19 | You can download that from Micro$oft site. Note, I need to build linexec | |
20 | for my pocketpc 2002, and I needed EVC 3, and EVC 4 didn't work. For reference, | |
21 | the file I downloaded is evt2002web_min.exe | |
22 | ||
23 | And then, you can unpack the EVC installation .exe with unzip. Then you can | |
24 | start hunting for files you need. So far I figured files that you'll need are: | |
25 | ||
26 | Binary: | |
27 | ||
28 | (In WCE/wce300/BIN/) | |
29 | ARMASM.EXE | |
30 | C1XX_ARM.DLL | |
31 | C2_ARM.EXE | |
32 | CLARM.EXE | |
33 | LINK.EXE | |
34 | MSPDB60.DLL | |
35 | ||
36 | (In COMMON/EVC/BIN/) | |
37 | RC.EXE | |
38 | RCDLL.DLL | |
39 | CVTRES.EXE | |
40 | ||
41 | ||
42 | Headers: | |
43 | ||
44 | *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/include/ | |
45 | *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/atl/include | |
46 | *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/atl/src | |
47 | ||
48 | ||
49 | Libs: | |
50 | *.lib in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/lib/arm/ | |
51 | ||
52 | ||
53 | Just put them in a sane place for your own convenience. | |
54 | ||
55 | ||
56 | The actual action | |
57 | ================= | |
58 | ||
59 | If you want to use these Makefile stuff for building other pocketpc app, have | |
60 | a read on Makefile.project and Makefile.wine, you'll pretty much understand | |
61 | what is going on. | |
62 | ||
63 | Set those path for your wine in the Makefile.wine, put in binary and sources | |
64 | names/files in Makefile.project. | |
65 | ||
66 | In a nutshell: | |
67 | ||
68 | - tune BASE in Makefile.wine | |
69 | - tune TARGETBIN SRCS CFLAGS LIBS INCLUDE LIB in Makefile.project | |
70 | ||
71 | By default all output files (obj/exe/res/etc) will be in the out/ directory. | |
72 | ||
73 | Finally, "make" will build them all, "make clean" will simply kill out/ | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | pigeon | |
80 | ||
81 |