Monday, July 19, 2004, 1:41:27 PM, Jeff Dever wrote: > I'm running cygwin on WindowsXP and need to compile a sqlite library for > use with our ARM embedded system which uses the eCOS. I have the 3.0.2 > sources to build from and am using the command: > configure --host=arm > After running make, the gcc cross compiler seems to be invoked > correctly, but it errors out with the following: > In file included from /usr/include/sys/types.h:364, > from /usr/include/stdio.h:46, > from ../src/sqliteInt.h:23, > from ../src/date.c:51: > /usr/include/cygwin/types.h:29: conflicting types for `off_t' > ../src/os_win.h:25: previous declaration of `off_t' > make: *** [date.lo] Error 1 There is no eCos/ARM support in the standard distribution. The file ../src/os_win.h contains the definitions for a Windows target. You will need to make a similar set of files for eCos and include it in the build instead of os_win.h and os_win.c. You will also need to modify the configure.ac script to handle eCos as well as UNIX and Windows targets if you want support from autoconf.
e