I hope that this post of Przemek will be usefull:
You will have to change C compiler and use one which supports ARM
processors and linker which can create WinCE binaries. You can try MSVC,
POCC or POGCC, CeGCC and probably others I haven't tested.
My tests with new POCC version shows that this compiler has some
problems/bugs when generate ARM binaries so probably it's not good
choice today. POGCC was not developed for long time. So you should chose
between MSVC and CeGCC. I've chosen CeGCC with MinGW RTL (MinGW-CE). See
http://cegcc.sourceforge.net/ It can be installed on x86 Windows and
Linux and then you can create PocketPC(ARM)-WinCE binaries. Such
binaries cannot be executed on x86 computers natively but you can
install PocketPC emulator (Virtual Machine) and test them and of course
you can copy them to your mobile device controlled by WinCE and execute.
If you decide to use MinGW-CE then I suggest to use *nix like shell
environment, f.e. MSYS in Windows. In such case you will be able to use
hb* scripts updated for this compiler. If you are using RPM based Linux
distribution then creating WinCE binaries is very easy. Run
./make_rpm.sh from non root account and in few minutes in
${HOME}/RPM/RPMS/<arch>/ you will have ready to install RPMs with native
harbour build. Then run ./make_rpmce.sh and it will create RPM with
Harbour binaries for PocketPC in the same directory.
Install new RPMs using root account and now you can easy create PocketPC
binaries. For .prg compilation use hbcecmp and for linking hbcelnk. See
/usr/share/doc/harbour-ce-1.1.1/README.RPM for detail description of
hbce* scripts. They are working in exactly the same way as normal hb*
scripts which are used for standard native builds.
If you want to compile and link .prg file in one command then use
hbcemk. F.e.:
hbcemk -n -w -es2 -gtwvt wcecon
If you will create binaries linked with harbour shared library
(harbour.dll), f.e. by:
hbcemk -n -w -es2 -gtwvt wcecon -shared
then please remember that you will have to copy to your PocketPC also
harbour.dll (you will find it in /usr/lib/harbour-ce).
HTH.
best regards,
Przemek
ps. For Linux users who want to easy create Win32 binaries and
are using RPM based distributions I'll add soon make_rpmw32.sh
which will create RPM with Harbour binaries for Windows and
hbw* scripts.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[email protected]
Sent: Wednesday, November 19, 2008 2:40 PM
To: [email protected]
Subject: [Harbour-users] Binaries to Windows CE
Hi!
I looking for harbour binararies to Windows CE.
TIA,
Itamar M. Lins Jr.
_______________________________________________
Harbour-users mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users
_______________________________________________
Harbour-users mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users