This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r151813 - in /branches/cygwin-improvements/gcc/...


Author: davek
Date: Thu Sep 17 19:59:15 2009
New Revision: 151813

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151813
Log:
Import Ada fixes patch.

gcc/ada/ChangeLog.cygwin-improvements:

2009-09-17  Dave Korn  <dave.korn.cygwin@gmail.com>

	* sysdep.c (__gnat_is_windows_xp): Move out from MinGW #ifdef
	block inside WINNT block to where it can be shared with Cygwin,
	and do so.
	(_msize): Implement for Cygwin.
	(getc_immediate_common): Don't test old deprecated __CYGWIN32__
	predefined macro any more, test __CYGWIN__.
	* s-oscons-tmplt.c (__USE_W32_SOCKETS): Define if __CYGWIN__.
	(HAVE_TERMIOS): Likewise.
	(__MINGW32__): Also test __CYGWIN__ when testing this to define
	OS constants.
	* mlib-tgt-specific-cygwin.adb: Fork from -mingw version.
	(DLL_Prefix): Change to match platform convention.	
	* system-cygwin.ads: Fork from -mingw version.
	(ZCX_By_Default): Set true.
	* initialize.c (__gnat_initialize): Add Cygwin version.
	* gsocket.h (WINNT, __MINGW32__): Also test __CYGWIN__ when
	testing these to define system constants.
	(HAVE_THREAD_SAFE_GETxxxBYyyy): Define on Cygwin also.

	* gcc-interface/Makefile.in (LIBGNAT_SHARED_LIB_PREFIX): New variable.
	(ADA_RTL_SO_OBJ_DIR): Likewise.
	(LIBGNAT_TARGET_PAIRS): Check target triple for just 'cygwin', not
	deprecated 'cygwin32', when setting overrides for windows platform.
	Define appropriate values for LIBGNAT_SHARED_LIB_PREFIX and
	ADA_RTL_SO_OBJ_DIR.  Select new -cygwin variants of -mingw overrides
	where present.  Set EH_MECHANISM, W32_IMPORT_LIB and GNATLIBCFLAGS
	for Cygwin.
	(install-gnatlib): Use LIBGNAT_SHARED_LIB_PREFIX and
	ADA_RTL_SO_OBJ_DIR.
	(gnatlib-shared-win32): Likewise, and also W32_IMPORT_LIB.


Added:
    branches/cygwin-improvements/gcc/ada/mlib-tgt-specific-cygwin.adb
      - copied, changed from r151779, branches/cygwin-improvements/gcc/ada/mlib-tgt-specific-mingw.adb
    branches/cygwin-improvements/gcc/ada/system-cygwin.ads
      - copied, changed from r151779, branches/cygwin-improvements/gcc/ada/system-mingw.ads
Modified:
    branches/cygwin-improvements/gcc/ada/ChangeLog.cygwin-improvements
    branches/cygwin-improvements/gcc/ada/gcc-interface/Makefile.in
    branches/cygwin-improvements/gcc/ada/gsocket.h
    branches/cygwin-improvements/gcc/ada/initialize.c
    branches/cygwin-improvements/gcc/ada/s-oscons-tmplt.c
    branches/cygwin-improvements/gcc/ada/sysdep.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]