diff options
author | Geoffrey Noer <noer@cygnus.com> | 1998-12-30 21:53:20 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-12-30 14:53:20 -0700 |
commit | 2966b4375c35c873ff229f1896174e4bdcf7c954 (patch) | |
tree | 6f2c682fca12454e0dd9dd18bdbb4e50a64bef92 /gcc | |
parent | 2c74fb2bf089989bff9918b995397df004a4c406 (diff) | |
download | gcc-2966b4375c35c873ff229f1896174e4bdcf7c954.zip gcc-2966b4375c35c873ff229f1896174e4bdcf7c954.tar.gz gcc-2966b4375c35c873ff229f1896174e4bdcf7c954.tar.bz2 |
* i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
From-SVN: r24445
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/xm-cygwin.h | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 015af04..33d4c7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 30 22:50:13 1998 Geoffrey Noer <noer@cygnus.com> + + * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash. + 1998-12-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * loop.c (check_dbra_loop): While reversing the loop, if the diff --git a/gcc/config/i386/xm-cygwin.h b/gcc/config/i386/xm-cygwin.h index 67040fe..4b166eb 100644 --- a/gcc/config/i386/xm-cygwin.h +++ b/gcc/config/i386/xm-cygwin.h @@ -27,11 +27,16 @@ Boston, MA 02111-1307, USA. */ #define HAVE_RINDEX 1 #define HAVE_INDEX 1 -/* Even though we support "/", allow "\" since everybody tests both. */ -#define DIR_SEPARATOR '\\' +/* 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 '/' /* If we allow both '/' and '\' as dir separators, then - allow both unix and win32 PATH syntax */ + allow both unix and win32 PATH syntax. */ #undef GET_ENV_PATH_LIST #define GET_ENV_PATH_LIST(VAR,NAME) \ do { \ |