This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix i686-pc-cygwin bootstrap failure


On Fri, 12 May 2006, Richard Guenther wrote:
> Try fixing the cygwin part in gcc/config.host from
>
>   i[34567]86-*-pe | i[34567]86-*-cygwin*)
>     host_xm_file=i386/xm-cygwin.h
>     out_host_hook_obj=host-cygwin.o
>     host_xmake_file=i386/x-cygwin
>     host_exeext=.exe
>     ;;
>
> to something like
>
>   i[34567]86-*-pe | i[34567]86-*-cygwin*)
>     host_xm_file=i386/xm-cygwin.h
>     out_host_hook_obj=host-cygwin.o
>     host_xmake_file="${host_xmake_file} i386/x-cygwin"
>     host_exeext=.exe
>     ;;
>
> Richard.

I've decided to check in Richard Guenther's fix to restore cygwin
bootstrap, as obvious, after confirming that it resolves the current
bootstrap failure on i686-pc-cygwin.

Committed to mainline as revision 113754.  Many thanks to Richard
for addressing this issue.



2006-05-13  Richard Guenther  <rguenther@suse.de>

	* config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
	host_xmake_file.


Index: config.host
===================================================================
*** config.host	(revision 113741)
--- config.host	(working copy)
***************
*** 1,5 ****
  # GCC host-specific configuration file.
! # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
  # Free Software Foundation, Inc.

  #This file is part of GCC.
--- 1,5 ----
  # GCC host-specific configuration file.
! # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006
  # Free Software Foundation, Inc.

  #This file is part of GCC.
*************** case ${host} in
*** 163,169 ****
    i[34567]86-*-pe | i[34567]86-*-cygwin*)
      host_xm_file=i386/xm-cygwin.h
      out_host_hook_obj=host-cygwin.o
!     host_xmake_file=i386/x-cygwin
      host_exeext=.exe
      ;;
    i[34567]86-*-mingw32*)
--- 163,169 ----
    i[34567]86-*-pe | i[34567]86-*-cygwin*)
      host_xm_file=i386/xm-cygwin.h
      out_host_hook_obj=host-cygwin.o
!     host_xmake_file="${host_xmake_file} i386/x-cygwin"
      host_exeext=.exe
      ;;
    i[34567]86-*-mingw32*)

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]