Simon Posnjak escreveu:
> Hi all
>
> 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.
>

I wonder where those non ascii characters ... :

/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c: In function 
‘wince_initialize’:
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1038: error: 
‘SOL_SOCKET’ undeclared (first use in this function)
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1038: error: 
(Each undeclared identifier is reported only once
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1038: error: for 
each function it appears in.)
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1038: error: 
‘SO_REUSEADDR’ undeclared (first use in this function)

... come from. Can you take a look on an editor (vi/emacs, etc)?
I failed to notice them on a previous post by Nuno.

Do you have a 64-bit machine?

> 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?
>
My device is also 4.20, but our tools default to CE 3.0, so it should work.

> 2. Does threading work (in WinCE 4.10)? (I use two threads and
> sometimes spawn a short time worker thread)
>
Should work. Take a look at CreateThread* and friends on MSDN.

> 3. Can I link to MSFT static library (I have platform dependent
> printer driver as .lib file)
>
Is it really a static library or an import library for a dll? In either 
case, it should work,
but the static library case it the less tested. If you see any problem, 
please post here.
Well, if you succeed, also post here :)

> 4. Which tool chain should I use cegcc or mingw32ce?
>
Danny already said it all.
> 5. How do I patch autoconf/automake to make it recognize
> arm-wince-cegcc and arm-wince-mingw32ce system types. I tried to
> compile sqlite as:
>
> ./configure --enable-shared --enable-static --host=arm-wince-cegcc
>
> and all so as
>
> ./configure --enable-shared --enable-static --host=arm-wince-mingw32ce
>

Depending on autoconf version you may also need to append a 
--target=arm-wince-mingw32ce.
Ignore the warning about cross-compiling and --host.

> and in both cases i got:
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... Invalid configuration `arm-wince-cegcc':
> system `cegcc' not recognized
> configure: error: /bin/bash ./config.sub arm-wince-cegcc failed
>
Danny as already handled the config.sub in his reply.
Let my just add, that you almost surely will need to handle cegcc or 
mingw32ce in
configure.in or configure.ac, and Makefile.am/Makefile.in.
If targeting mingw32ce, and the app/lib has already been ported to mingw32,
model your changes on mingw32. If the lib/app is already ported to 
cygwin, model
your changes on that. Don't forget to run the correct version of 
autoconf, automake, autoheader, etc
after you change those files.

> 6. Has anybody tried to compile sqlte3, SDL, freetype, SDL_ttf or
> openssl with cegcc/mingw32ce?
>
Not me either. But please, if you do, let us know.

> Thank you for your replays.
>
> Regards
> Simon


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