Hi, currently it is not possible to build Ada under Cygwin. That is because the constants DTR_CONTROL_ENABLE and RTS_CONTROL_ENABLE are missing. Additionally the function __gnat_map_SEH is missing under Cygwin64. That is because _WIN32 is not a built-in define under Cygwin, instead it is only defined when windows.h is included.
Boot-strapped under Cygwin32 and Cygwin64. OK for trunk and 4.9.1 branch? Thanks Bernd.
2014-05-10 Bernd Edlinger <bernd.edlin...@hotmail.de> Fix current cygwin build problems. * seh_init.c (__gnat_map_SEH): Compile also when __CYGWIN__ and __SEH__ is defined. Move include windows.h before system.h. * s-oscons-tmplt.c (DTR_CONTROL_ENABLE, RTS_CONTROL_ENABLE): Compile also when __CYGWIN__ is defined. Include windef.h before winbase.h.
patch-ada-cygwin.diff
Description: Binary data