xm-cygwin.h revision 90075
1200581Srdivacky/* Configuration for GNU C-compiler for hosting on Windows NT. 2200581Srdivacky using a unix style C library. 3200581Srdivacky Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. 4200581Srdivacky 5200581SrdivackyThis file is part of GNU CC. 6200581Srdivacky 7200581SrdivackyGNU CC is free software; you can redistribute it and/or modify 8200581Srdivackyit under the terms of the GNU General Public License as published by 9200581Srdivackythe Free Software Foundation; either version 2, or (at your option) 10200581Srdivackyany later version. 11200581Srdivacky 12200581SrdivackyGNU CC is distributed in the hope that it will be useful, 13200581Srdivackybut WITHOUT ANY WARRANTY; without even the implied warranty of 14200581SrdivackyMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15200581SrdivackyGNU General Public License for more details. 16200581Srdivacky 17200581SrdivackyYou should have received a copy of the GNU General Public License 18249423Sdimalong with GNU CC; see the file COPYING. If not, write to 19200581Srdivackythe Free Software Foundation, 59 Temple Place - Suite 330, 20200581SrdivackyBoston, MA 02111-1307, USA. */ 21200581Srdivacky 22243830Sdim#define HOST_EXECUTABLE_SUFFIX ".exe" 23234353Sdim 24234353Sdim/* Even though Cygwin tries to hide the DOS based filesystem, it 25200581Srdivacky still shows though at times. */ 26200581Srdivacky#define HAVE_DOS_BASED_FILE_SYSTEM 27200581Srdivacky 28200581Srdivacky/* We support both "/" and "\" since everybody tests both but we 29200581Srdivacky default to "/". This is important because if gcc produces Win32 30200581Srdivacky paths containing backslashes, make and configure may treat the 31200581Srdivacky backslashes as escape characters. Many Win32 programs use forward 32200581Srdivacky slashes so using a forward slash shouldn't be problematic from the 33200581Srdivacky perspective of wanting gcc to produce native Win32 paths. */ 34200581Srdivacky#undef DIR_SEPARATOR_2 35200581Srdivacky#define DIR_SEPARATOR_2 '\\' 36200581Srdivacky