aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/i386/xm-cygwin.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 18:16:02 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 18:16:02 +0000
commit1952e2e1c1be6f107fa3ce8b10025cfd1cd7943b (patch)
tree086d9d6c8fbd4fc8fe4495059332f66bc0f8d12b /contrib/gcc/config/i386/xm-cygwin.h
parentd337ceafd72ec93f99dfbee5ea0e70ed180a2dd6 (diff)
Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=90075
Diffstat (limited to 'contrib/gcc/config/i386/xm-cygwin.h')
-rw-r--r--contrib/gcc/config/i386/xm-cygwin.h41
1 files changed, 9 insertions, 32 deletions
diff --git a/contrib/gcc/config/i386/xm-cygwin.h b/contrib/gcc/config/i386/xm-cygwin.h
index ab59627fce7d..721c435189f4 100644
--- a/contrib/gcc/config/i386/xm-cygwin.h
+++ b/contrib/gcc/config/i386/xm-cygwin.h
@@ -1,6 +1,6 @@
/* Configuration for GNU C-compiler for hosting on Windows NT.
using a unix style C library.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -17,42 +17,19 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+Boston, MA 02111-1307, USA. */
-#define EXECUTABLE_SUFFIX ".exe"
-#define NO_SYS_SIGLIST 1
+#define HOST_EXECUTABLE_SUFFIX ".exe"
+
+/* Even though Cygwin tries to hide the DOS based filesystem, it
+ still shows though at times. */
+#define HAVE_DOS_BASED_FILE_SYSTEM
/* We support both "/" and "\" since everybody tests both but we
default to "/". This is important because if gcc produces Win32
paths containing backslashes, make and configure may treat the
backslashes as escape characters. Many Win32 programs use forward
slashes so using a forward slash shouldn't be problematic from the
- perspective of wanting gcc to produce native Win32 paths. */
-#define DIR_SEPARATOR '/'
+ perspective of wanting gcc to produce native Win32 paths. */
+#undef DIR_SEPARATOR_2
#define DIR_SEPARATOR_2 '\\'
-
-/* Convert win32 style path lists to POSIX style for consistency. */
-#undef GET_ENV_PATH_LIST
-#define GET_ENV_PATH_LIST(VAR,NAME) \
-do { \
- char *_epath; \
- char *_posixepath; \
- _epath = _posixepath = getenv (NAME); \
- /* if we have a posix path list, convert to posix path list */ \
- if (_epath != NULL && *_epath != 0 \
- && ! cygwin_posix_path_list_p (_epath)) \
- { \
- char *p; \
- _posixepath = (char *) xmalloc \
- (cygwin_win32_to_posix_path_list_buf_size (_epath)); \
- cygwin_win32_to_posix_path_list (_epath, _posixepath); \
- } \
- (VAR) = _posixepath; \
-} while (0)
-
-#define PATH_SEPARATOR ':'
-
-/* This is needed so that protoize will compile. */
-#ifndef POSIX
-#define POSIX
-#endif