> > Try adding defined (__CYGWIN__) to the first line. > done, the new issue is this:
/usr/local/src/trunk/objdir.withada/./gcc/xgcc -B/usr/local/src/trunk/objdir.withada/./gcc/ -B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem /usr/i686-pc-cygwin/include -isystem /usr/i686-pc-cygwin/sys-include -c -g -O2 -W -Wall -gnatpg -nostdinc a-diocst.adb -o a-diocst.o /usr/local/src/trunk/objdir.withada/./gcc/xgcc -B/usr/local/src/trunk/objdir.withada/./gcc/ -B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem /usr/i686-pc-cygwin/include -isystem /usr/i686-pc-cygwin/sys-include -c -g -O2 -W -Wall -gnatpg -nostdinc a-direct.adb -o a-direct.o a-direct.adb:43:12: warning: no entities of "Os_Constants" are referenced a-direct.adb:1081:24: "ENOENT" is undefined s-oscons.ads:54:01: (style) multiple blank lines s-oscons.ads:59:01: (style) multiple blank lines s-oscons.ads:64:01: (style) multiple blank lines s-oscons.ads:69:01: (style) multiple blank lines s-oscons.ads:74:01: (style) multiple blank lines s-oscons.ads:81:01: (style) multiple blank lines s-oscons.ads:86:01: (style) multiple blank lines s-oscons.ads:91:01: (style) multiple blank lines s-oscons.ads:96:01: (style) multiple blank lines s-oscons.ads:101:01: (style) multiple blank lines s-oscons.ads:106:01: (style) multiple blank lines s-oscons.ads:111:01: (style) multiple blank lines s-oscons.ads:116:01: (style) multiple blank lines s-oscons.ads:127:01: (style) multiple blank lines s-oscons.ads:146:01: (style) multiple blank lines make[6]: *** [a-direct.o] Error 1 make[6]: Leaving directory `/usr/local/src/trunk/objdir.withada/gcc/ada/rts' make[5]: *** [gnatlib] Error 2 make[5]: Leaving directory `/usr/local/src/trunk/objdir.withada/gcc/ada' make[4]: *** [gnatlib-shared-win32] Error 2 make[4]: Leaving directory `/usr/local/src/trunk/objdir.withada/gcc/ada' make[3]: *** [gnatlib-shared] Error 2 make[3]: Leaving directory `/usr/local/src/trunk/objdir.withada/gcc/ada' make[2]: *** [gnatlib-shared] Error 2 make[2]: Leaving directory `/usr/local/src/trunk/objdir.withada/i686-pc-cygwin/libada' make[1]: *** [all-target-libada] Error 2 make[1]: *** Waiting for unfinished jobs.... -- Cheers, /ChJ