I just installed Eclipse CDT with MinGW.
All the environment variables are set, includes, etc. Tried running a hello world and everyth
NULL defined in stddef.h, but stddef.h is in xxx/include/linux not xxx/include
-> even though you have added MingW's xxx/include, still can not found NULL
add your MingW's include/linux path to your project
(1) example of my xscale crosscompiler's include/linux path is: /opt/crosscompile/xscale/gcc-4.6.0-glibc-2.9/arm-xscale-linux-gnueabi/sysroot/usr/include/linux

(2) my post:Ubuntu Eclipse: Symbol ‘NULL’ could not be resolved