hey, im having trouble compiling the chipmunk physics demos on my toolchain.
(using unofficial, cygwin
$ make
/usr/local/bin/arm-apple-darwin-gcc -c -Wall -O3 -std=gnu99 -ffast-math -I../src
main.c -o main.o
In file included from /usr/local/lib/gcc/arm-apple-darwin/4.0.1/../../../../arm-
apple-darwin/include/OpenGLES/egl.h:13,
from main.c:37:
/usr/local/lib/gcc/arm-apple-darwin/4.0.1/../../../../arm-apple-darwin/include/O
penGLES/eglplatform.h:45: error: syntax error before 'NativeDisplayType'
/usr/local/lib/gcc/arm-apple-darwin/4.0.1/../../../../arm-apple-darwin/include/O
penGLES/eglplatform.h:50: error: syntax error before 'EGLNativeDisplayType'
In file included from main.c:37:
/usr/local/lib/gcc/arm-apple-darwin/4.0.1/../../../../arm-apple-darwin/include/O
penGLES/egl.h:219: error: syntax error before 'display_id'
main.c: In function 'handleHIDEvent':
main.c:458: warning: implicit declaration of function 'IOHIDEventGetType'
main.c: In function 'InitializeAccelerometer':
main.c:490: warning: implicit declaration of function 'IOHIDEventSystemCreate'
main.c:493: warning: implicit declaration of function 'IOHIDEventSystemCopyMatch
ingServices'
main.c:503: warning: implicit declaration of function 'IOHIDServiceSetProperty'
main.c:506: warning: implicit declaration of function 'IOHIDEventSystemOpen'
make: *** [main.o] Error 1
looks to me like its not a problem with the physics part though,

i am also wondering, can i combine these .c files in my .m obj c code,
i saw something describing objectivec++ where the languages could talk, is this a case?

thanks for any help.