Please read the full post from my website.
60075 items (60074 unread) in 81 feeds
FLOSSIndia
(29920 unread)
FLOSSSouthAsia
(9427 unread)
FLOSSAsia
(13698 unread)
Miscellaneous
(7029 unread)
Related tags: ubuntu [+], gcc [+], Linux [+]
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
For this quick introduction, I’ll concentrate on installing the compiler from Debian Package (deb). Other packages can be downloaded from CeGCC project page
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.
Conclusion
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