configure --enable-c-cpplib fails on egcs-970910

Per Bothner bothner@cygnus.com
Thu Sep 11 18:52:00 GMT 1997


> The following change to the C compiler hasn't yet been ported to the C++
> compiler.

I do have some patches which have not been checked in yet (anywhere).
But first cp/Makefile.in needs to be updated to use autoconf.
I have patches for that too.  I'll try to get that taken care both  soon.

Here by the way is the automake patch.  Please try it out.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner

Index: Makefile.in
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/cp/Makefile.in,v
retrieving revision 1.52
diff -u -r1.52 Makefile.in
--- Makefile.in	1997/08/19 09:27:19	1.52
+++ Makefile.in	1997/09/12 01:43:04
@@ -54,7 +54,7 @@
 X_CPPFLAGS =
 T_CPPFLAGS =
 
-CC = cc
+CC = @CC@
BISON = bison
BISONFLAGS =
LEX = flex
@@ -90,14 +90,15 @@
 program_transform_name =
 objdir = .
 
-target= ... `configure' substitutes actual target name here.
-xmake_file= ... `configure' substitutes actual x- file name here.
-tmake_file= ... `configure' substitutes actual t- file name here.
+target=@target@
+xmake_file=@dep_host_xmake_file@
+tmake_file=@dep_tmake_file@
 #version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
 #mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
 
 # Directory where sources are, from where we are.
-srcdir = .
+srcdir = @srcdir@
+VPATH = @srcdir@
 
 # Additional system libraries to link with.
 CLIB=
@@ -120,9 +121,13 @@
 
 # sed inserts variable overrides after the following line.
 ####target overrides
+@target_overrides@
 ####host overrides
+@host_overrides@
 ####cross overrides
+@cross_overrides@
 ####build overrides
+@build_overrides@
 ####site overrides
 #
 # Now figure out from those variables how to compile and link.
@@ -130,7 +135,7 @@
 all.indirect: Makefile ../cc1plus
 
 # IN_GCC tells obstack.h that we are using gcc's <stddef.h> file.
-INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
+INTERNAL_CFLAGS = $(CROSS) -DIN_GCC @extra_c_flags@
 
 # This is the variable actually used when we compile.
 ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
Index: config-lang.in
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/cp/config-lang.in,v
retrieving revision 1.4
diff -u -r1.4 config-lang.in
--- config-lang.in	1996/09/22 12:35:48	1.4
+++ config-lang.in	1997/07/28 22:14:28
@@ -37,3 +37,5 @@
 headers='$(CXX_EXTRA_HEADERS)'
 
 lib2funcs=cplib2.txt
+
+outputs=cp/Makefile



More information about the Gcc mailing list