README for Makefile.wine With thanks to anpaza, I got this very basic Makefile to use wine and evc to build pocketpc arm binary programs, so I don't have to boot into windows just for building linexec. So what do you need? (Guns, lots of guns) ==================== - WINE I didn't know if there's any specific version you'll need, my WINE just work straight away. - EVC You can download that from Micro$oft site. Note, I need to build linexec for my pocketpc 2002, and I needed EVC 3, and EVC 4 didn't work. For reference, the file I downloaded is evt2002web_min.exe And then, you can unpack the EVC installation .exe with unzip. Then you can start hunting for files you need. So far I figured files that you'll need are: Binary: (In WCE/wce300/BIN/) ARMASM.EXE C1XX_ARM.DLL C2_ARM.EXE CLARM.EXE LINK.EXE MSPDB60.DLL (In COMMON/EVC/BIN/) RC.EXE RCDLL.DLL CVTRES.EXE Headers: *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/include/ *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/atl/include *.h in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/atl/src Libs: *.lib in SDKs/PocketPC_2002_SDK/program files/pocket pc 2002/lib/arm/ Just put them in a sane place for your own convenience. The actual action ================= If you want to use these Makefile stuff for building other pocketpc app, have a read on Makefile.project and Makefile.wine, you'll pretty much understand what is going on. Set those path for your wine in the Makefile.wine, put in binary and sources names/files in Makefile.project. In a nutshell: - tune BASE in Makefile.wine - tune TARGETBIN SRCS CFLAGS LIBS INCLUDE LIB in Makefile.project By default all output files (obj/exe/res/etc) will be in the out/ directory. Finally, "make" will build them all, "make clean" will simply kill out/ pigeon