Pocket PC is perhaps the most widely known PDA device available to general consumers, although it comes with Microsoft Windows CE, it still does not stop GNU/Linux users from syncing their Pocket PC device with Linux machines.
In this post, I’ll concentrate on developing Pocket PC application on Linux machine by using CeGCC.
First of all you need to install CeGCC cross compiler on your system by either
- Compiling CeGCC from its source code, or
- Installing it from Binary Package (rpm, deb)
Get the Deb package
Install both packages
Install both mingw32ce and cegcc using dpkg,
$ sudo dpkg -i cegcc-mingw32ce_0.50-2_i386.deb
$ sudo dpkg -i cegcc-cegcc_0.50-2_i386.deb
the package files will be installed on /opt.
Download Example Source Code
Compiling the application
To compile the example applications, you need to change the directory to “/opt/cegcc/bin/“, then execute
$ ./arm-wince-cegcc-gcc ~/hello.c -o ~/hello.exe
Copy hello.exe to your Pocket PC PDA, and execute it using File Explorer to see it running. Repeat the step for “Random Rectangle” example.
CeGCC is a great package for Pocket PC mobile application development as it produces binaries that are compatible with modern ARM processor and Windows Mobile operating system. CeGCC enables Pocket PC application development under a completely free and open source environment
[tags]pocketpc, pocket pc, linux, ubuntu, gcc, compiler, c#, pda,mobile,gadgets[/tags]