OSDN Git Service

Two little fixes I commited to classpath but not to libgcj first
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / xm-cygwin.h
1 /* Configuration for GNU C-compiler for hosting on Windows NT.
2    using a unix style C library.
3    Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
4
5 This file is part of GNU CC.
6
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 #define HOST_EXECUTABLE_SUFFIX ".exe"
23
24 /* Even though Cygwin tries to hide the DOS based filesystem, it
25    still shows though at times.  */
26 #define HAVE_DOS_BASED_FILE_SYSTEM
27
28 /* We support both "/" and "\" since everybody tests both but we
29    default to "/".  This is important because if gcc produces Win32
30    paths containing backslashes, make and configure may treat the
31    backslashes as escape characters.  Many Win32 programs use forward
32    slashes so using a forward slash shouldn't be problematic from the
33    perspective of wanting gcc to produce native Win32 paths.  */
34 #undef DIR_SEPARATOR_2
35 #define DIR_SEPARATOR_2 '\\'