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 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?
2. Does threading work (in WinCE 4.10)? (I use two threads and
sometimes spawn a short time worker thread)
3. Can I link to MSFT static library (I have platform dependent
printer driver as .lib file)
4. Which tool chain should I use cegcc or mingw32ce?
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
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
6. Has anybody tried to compile sqlte3, SDL, freetype, SDL_ttf or
openssl with cegcc/mingw32ce?
Thank you for your replays.
Regards
Simon
gcc -c -I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/w32api/include
-D__arm__ -DARM -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__
-DUNICODE -DUNDER_CE -D_WIN32_WCE -DWINCE_STUB='"arm-wince-mingw32ce-stub.exe"'
-I. -I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/config
-DLOCALEDIR="\"/opt/mingw32ce/share/locale\"" -DHAVE_CONFIG_H
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/../include/opcode
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/../readline/.. -I../bfd
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/../bfd
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/../include -I../intl
-I/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/../intl -DMI_OUT=1
-DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
-Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/defs.h:31,
from
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:34:
/usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be
neither x86_64 nor i386.
In file included from /usr/include/bits/socket.h:304,
from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/netdb.h:28,
from
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:47:
/usr/include/asm/socket.h:9:4: warning: #warning This machine appears to be
neither x86_64 nor i386.
In file included from /usr/include/linux/param.h:4,
from /usr/include/sys/param.h:24,
from
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:62:
/usr/include/asm/param.h:9:4: warning: #warning This machine appears to be
neither x86_64 nor i386.
/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)
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1616:24: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1617:30: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1618:30: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1619:30: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1620:27: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1621:27: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1668:28: warning:
universal character names are only valid in C++ and C99
/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/gdb/gdb/wince.c:1673:33: warning:
universal character names are only valid in C++ and C99
make[2]: *** [wince.o] Error 1
make[2]: Leaving directory
`/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/build-mingw32ce/gdb/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/home/simonp/delo/cegcc/trunk/trunk/cegcc/src/build-mingw32ce/gdb'
make: *** [all] Error 2
-------------------------------------------------------------------------
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