But the problem above does not related to win XP, I tried on another PC with Windwos 7 (32bit) and the result is the same:
Linking .build/TestProject.exe
/cygdrive/c/Users/bluexp/AppData/Local/Temp/ccJJHHFz.ltrans0.ltrans.o:ccJJHHFz.
ltrans0.o:(.text+0x2380): multiple definition of `main'
/usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a-
crt0_c.o):/usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:17: first def
ined here
/usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a-
crt0_c.o): In function `main':
/usr/src/debug/mingw64-i686-runtime-4.0.6-1/crt/crt0_c.c:18: undefined reference
to `WinMain@16'
collect2: error: ld returned 1 exit status
make: *** [../uGFX/tools/gmake_scripts/compiler_gcc.mk:284: .build/TestProject.e
xe] Error 1