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: Nosuch file or directory


Hi,


In messages :


http://gcc.gnu.org/ml/gcc/2004-02/msg01148.html

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

This fixes bootstrap problem.



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.


This causes :


gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.5.0\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-cygwin\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc/gcc/gccspec.c -o gccspec.o)
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -o xgcc.exe gcc.o gccspec.o intl.o \
prefix.o version.o libcpp.a ../libiberty/libiberty.a ../intl/libintl.a
gcc.o(.text+0x10442): In function `main':
/home/user/gcc/head/obj/gcc/../../gcc/gcc/gcc.c:5930: undefined reference to `_mingw_scan'
collect2: ld gaf exit-status 1 terug
make[2]: *** [xgcc.exe] Fout 1
make[2]: Leaving directory `/home/user/gcc/head/obj/gcc'
make[1]: *** [stage1_build] Fout 2
make[1]: Leaving directory `/home/user/gcc/head/obj/gcc'
make: *** [bootstrap] Fout 2



Kind regard,


Bauke van Dijk


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