How to Compile Pocket PC PDA Application on Linux

advertisement logo

 

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

  1. Compiling CeGCC from its source code, or
  2. Installing it from Binary Package (rpm, deb)

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: , , , , , , , , ,

Bookmark this article These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • YahooMyWeb
  • NewsVine
  • Netvouz
  • Reddit
  • Spurl
  • Furl
  • del.icio.us
  • StumbleUpon
  • Technorati
  • TwitThis

Keep updated with this website! : Subscribe to your email

Recommended Reading

6 smashing comments for this post.

  1. wahlau's online hut | collection of wahlau's what-so-ever online... Said:

    Khairil Yusof: Qemu revisited Mohammad Hafiz bin Ismail: How to Compile Pocket PC PDA Application on Linux Kuching OSC: Novell Malaysia + KuchingOSC Mohd Irwan Jamaluddin: Debian Testing (Lenny) Got 2.6.21 Kernel Lee Chin Sheng: HeXtra 1.0 Beta

  2. The Malaysian Blogosphere » Blog Archive » MyPapit: How to Compile Pocket PC PDA Application on Linux Said:

    [...] Original post by mypapit and software by Elliott Back Bookmark to: [...]

  3. free stock photos Said:

    cool mate..
    now i can access linux on pocket pc

  4. Crossover Adapter « hardyweb:perjalanan hidupkuā„¢ Said:

    [...] How to Compile Pocket PC PDA Application on Linux [...]

  5. MiNt Said:

    hello.ilovemypapit.

  6. Goa-india » Items by mypapit Said:

    [...] http://blog.mypapit.net/2007/07/how-to-compile-pocket-pc-pda-application-on-linux.html [...]

Leave a Comment

Subscribe by email

Enter your Email