This is the mail archive of the gcc@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]

Re: Can't bootstrap gcc 3.4.0 20040205 on cygwin: xgcc: cygwin1.o: No such file or directory


On Fri, Feb 20, 2004 at 07:13:47PM +0100, Rainer Orth wrote:
>Christopher Faylor writes:
>
>> Why wouldn't this just be a reversion of the patch that broke this
>> behavior?
>> 
>> What was the impetus for changing things so that cygwin builds broke?
>
>Because this patch is required to fix a bootstrap failure:
>
>	http://gcc.gnu.org/ml/gcc-patches/2004-01/msg02504.html

Does this fix it?

cgf

2004-02-20  Christopher Faylor  <cgf@redhat.com>

	* config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host
	object file when targetting cygwin.
	* config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
	overridden by top-level Makefile.


Index: config.gcc
===================================================================
RCS file: /cvs/uberbaum/gcc/config.gcc,v
retrieving revision 1.430
diff -u -p -r1.430 config.gcc
--- config.gcc	17 Feb 2004 20:42:52 -0000	1.430
+++ config.gcc	20 Feb 2004 18:34:40 -0000
@@ -1019,10 +1019,11 @@ i[4567]86-wrs-vxworks)
 i[34567]86-*-pe | i[34567]86-*-cygwin*)
 	tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h"
 	xm_file=i386/xm-cygwin.h
-	tmake_file="i386/t-cygming i386/t-cygwin"
+	tmake_file="i386/t-cygwin i386/t-cygming"
 	extra_objs=winnt.o
 	c_target_objs=cygwin2.o
 	cxx_target_objs=cygwin2.o
+	host_extra_objs=cygwin1.o
 	if test x$enable_threads = xyes; then
 		thread_file='posix'
 	fi
Index: config/i386/t-cygwin
===================================================================
RCS file: /cvs/uberbaum/gcc/config/i386/t-cygwin,v
retrieving revision 1.12
diff -u -p -r1.12 t-cygwin
--- config/i386/t-cygwin	21 Mar 2003 03:57:09 -0000	1.12
+++ config/i386/t-cygwin	20 Feb 2004 18:34:40 -0000
@@ -1,5 +1,3 @@
-EXTRA_GCC_OBJS = cygwin1.o
-
 # If we are building next to winsup, this will let us find the real
 # limits.h when building libgcc2.  Otherwise, winsup must be installed
 # first.


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