Dear Bao,
I have just successfully compiled the portaudio project for WinCE using cegcc.
These steps were necessary:
1) Install cegcc-mingw32ce from
http://downloads.sourceforge.net/cegcc/cegcc-mingw32ce-0.50-1.i586.rpm?modtime=1182283097&big_mirror=0
(cegcc-cegcc alone didn't work for me).
2) Add the path to the cegcc-mingw32ce binaries to the PATH environment
variable.
3) Modify the provided Makefile.mingw:
Replace the line "CC= i586-mingw32msvc-gcc" with "CC=arm-wince-mingw32ce-gcc".
Remove all occurences of "-lwinmm". Remove all lines containing DLLWRAP.
4) With this new Makefile.mingw32ce type
make -f Makefile.mingw32ce
In your case you should first make sure that your project can be compiled by
MinGW. Additionally you might need to change several WinAPI calls that are
different in WinCE (probably the most difficult step, and I won't be able to
give any hints on this).
Chris
"Bao C. Ha" <[EMAIL PROTECTED]> wrote: Hello,
How do I proceed?
I have a project that can be built either as Linux or
Win 32 application. How do I use cegcc to build a
WinCE application?
I am thinking of modifying the Linux's Makfile. Then,
just cross compile from within the Linux environment.
Another option to to use the dsp file from Win32, and
try to run "make" from it.
Appreciate any comments/sugesstions on the best way
to approach this problem.
Thanks.
Bao
--
Best Regards.
Bao C. Ha
Hacom OpenBrick Distributor USA http://www.hacom.net
voice: (714) 564-9693 fax: (714) 564-9932
8D66 6672 7A9B 6879 85CD 42E0 9F6C 7908 ED95 6B38
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel