Hi all,

after a lot of help from both Vincent and Danny I have gotten my Ubuntu
8.04 install updated to be able to compile cegcc-mingw32ce.

Apparently I need flex, bison and libncurses5-dev ..

So far so good, but there are new errors in the compile now:

gcc -c -I/home/janrinze/Desktop/src/cegcc/cegcc/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-mingw32ce-stub.exe"'   -I.
-I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb
-I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/config
-DLOCALEDIR="\"/opt/mingw32ce/share/locale\"" -DHAVE_CONFIG_H
-I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/../include/opcode 
-I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/../readline/.. 
-I../bfd -I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/../bfd 
-I/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/../include -I../intl 
-I/home/janrinze/Desktop/src/cegcc/cegcc/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/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/win32-nat.c
In file included
from 
/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/w32api/include/windef.h:265,

from 
/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/w32api/include/windows.h:49,

from /home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/gdb/gdb/win32-nat.c:28:
/home/janrinze/Desktop/src/cegcc/cegcc/cegcc/src/w32api/include/winnt.h:3919: 
error: conflicting types for ‘size_t’
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include/stddef.h:214: error:
previous declaration of ‘size_t’ was here

It seems that the 64 bit version of stddef.h conflicts with winnt.h
We either need to resolve this with some #ifdef's or there may be some
other work-around. Any ideas?

regards,
Jan Rinze.



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to