re PR bootstrap/35273 (Bootstrap of mingw32 using non-MSYS shell broken)

PR bootstrap/35273
* config.build (build_file_translate): Set to `CMD //c' only if
it works.
* Makefile.in (build_file_translate): Improve comment.

From-SVN: r132528
This commit is contained in:
Ralf Wildenhues 2008-02-21 19:55:39 +00:00 committed by Ralf Wildenhues
parent 0ca1683279
commit 703fdf5a60
3 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/35273
* config.build (build_file_translate): Set to `CMD //c' only if
it works.
* Makefile.in (build_file_translate): Improve comment.
2008-02-21 Jan Hubicka <jh@suse.cz>
* predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,

View File

@ -2,8 +2,8 @@
# Run 'configure' to generate Makefile from Makefile.in
# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
# 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
# Free Software Foundation, Inc.
# 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
# 2008 Free Software Foundation, Inc.
#This file is part of GCC.
@ -253,7 +253,9 @@ POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
# do not correctly set the timestamp due to buggy versions of `utime'
# in the kernel. So, we use `echo' instead.
STAMP = echo timestamp >
# Translate absolute file names to w32 paths.
# If necessary (e.g., when using the MSYS shell on Microsoft Windows)
# translate the shell's notion of absolute pathnames to the native
# spelling.
build_file_translate = @build_file_translate@
# Make sure the $(MAKE) variable is defined.

View File

@ -1,5 +1,5 @@
# GCC build-specific configuration file.
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008
# Free Software Foundation, Inc.
#This file is part of GCC.
@ -80,7 +80,11 @@ case $build in
i[34567]86-*-mingw32* | x86_64-*-mingw*)
build_xm_file=i386/xm-mingw32.h
build_exeext=.exe
build_file_translate="CMD //C"
t=`(CMD //c echo /c) 2>/dev/null`
case $t in ?:*)
build_file_translate="CMD //c"
;;
esac
;;
i[34567]86-pc-msdosdjgpp*)
build_xm_file=i386/xm-djgpp.h