This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap broken on mingw
- From: "Danny Smith" <dansmister at gmail dot com>
- To: "Weddington, Eric" <eweddington at cso dot atmel dot com>, "FX Coudert" <fxcoudert at gmail dot com>, "Gerald Pfeifer" <gerald at pfeifer dot com>, "Richard Guenther" <richard dot guenther at gmail dot com>, "Joerg Wunsch" <j at uriah dot heep dot sax dot de>, "GCC Development" <gcc at gcc dot gnu dot org>, "Denis Chertykov" <chertykov at gmail dot com>, "Anatoly Sokolov" <aesok at post dot ru>, "Lamo, Jo Inge" <jo-inge dot lamo at atmel dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Feb 2008 22:02:09 +1300
- Subject: Re: bootstrap broken on mingw
- References: <6E32C92C-4934-4B9D-8A9D-014BFC395383@gmail.com> <3D984872-3514-40F7-A03C-9F3D44042C1B@gmail.com> <20080217131812.GA22680@ins.uni-bonn.de> <alpine.LSU.1.00.0802171430210.32184@pulcherrima.dbai.tuwien.ac.at> <20080217141041.GA29859@ins.uni-bonn.de> <4FBE5D91-CD62-48B7-9B24-330D9BF28A3E@gmail.com> <258DDD1F44B6ED4AAFD4370847CF58D5B9D21B@csomb01.corp.atmel.com> <20080217201814.GA15414@ins.uni-bonn.de> <258DDD1F44B6ED4AAFD4370847CF58D5B9D222@csomb01.corp.atmel.com> <20080217215906.GA3897@ins.uni-bonn.de>
On Feb 18, 2008 10:59 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
>
> gcc/ChangeLog:
> 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> PR bootstrap/35218
> * Makefile.in (build_file_translate): New.
> (gcc-vers.texi): Use it for translating $(abs_srcdir).
> * config.build (build_file_translate): Set to `CMD //c' on MinGW.
> * configure.ac (build_file_translate): Substitute it.
> * configure: Regenerate.
>
This patch breaks native bootstrap on mingw systems that use
cygwin1.dll-dependent bash and development tools. As such, that would
be a regression against all versions of gcc since at least 2.95.3
The ' CMD //c' (with 2 slashes preceding the switch rather than the
one documented for cmd by Micrsosoft) is a MSYS-ism that causes
problems with non-MSYS shells (including the one provided by MS in
its SFU package)
GCC corrently bootstaps just fine (with or without the earlier
abs_srcdir patch) on mingw using the cygwin bash shell, make and
configure. Using cygwin shell rather than the MSYS shell means that
DejaGnu testsuite can be run. The last time I checked this was not
possible. with MSYS.
Danny