On Sun, 2006-11-05 at 01:40 +0100, Simon Posnjak wrote:
> I managed to build the svn version of the tool chains on Linux. I can
> confirm  (as reported earlier) that there is a problem with building
> gdb on Ubuntu 6.10 - I attached the error.

Looking into that.

> I have a program (pure C) that runs on Linux and WinCE embedded system
> and uses sqlite3, SDL, SDL_ttf, freetype and openssl libraries. For
> time being I use eVC 4.0 sp4 to compile the WinCE version. I would
> like to switch to gcc (on linux) for the build process, but first i
> would like to know if:
> 
> 1. Is WinCE 4.10 supported?

I am not an expert on CE version numbers. My device is a Mio on which
the Windows CE "About" application (under Settings) mentions
        Microsoft® Pocket PC
        Verson 4.20.0 (Build 14053)

Also I did a few tests against the emulator from the Microsoft website,
that worked too. The emulator I downloaded says it's CE 5.*, I forgot
the detail.

> 2. Does threading work (in WinCE 4.10)? (I use two threads and
> sometimes spawn a short time worker thread)

No experience.

> 3. Can I link to MSFT static library (I have platform dependent
> printer driver as .lib file)

This is probably a question Pedro can answer better.

> 4. Which tool chain should I use cegcc or mingw32ce?

That would depend on how Windows-compliant all the sources are. If you
need a unix-like layer, go to cegcc. You mention that you've already
gotten things to work with eVC so I'm guessing you don't need it.

> 5. How do I patch autoconf/automake to make it recognize
> arm-wince-cegcc and arm-wince-mingw32ce system types.
..
> checking host system type... Invalid configuration `arm-wince-cegcc':
> system `cegcc' not recognized
> configure: error: /bin/bash ./config.sub arm-wince-cegcc failed

You need a trivial change to config.sub. Below is the change I made
recently to src/gcc/config.sub (see attachment, otherwise line breaks
will make things hard to read).

> 6. Has anybody tried to compile sqlte3, SDL, freetype, SDL_ttf or
> openssl with cegcc/mingw32ce?

Not me.

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
Index: config.sub
===================================================================
--- config.sub	(revision 677)
+++ config.sub	(working copy)
@@ -1198,7 +1198,7 @@
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* \
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* | -cegcc* \
 	      | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to