Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 1998 19:41:53 +0100
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        "FreeBSD Current Users' list" <freebsd-current@FreeBSD.ORG>
Subject:   Re: Weird error with bison in current
Message-ID:  <19980125194153.58529@keltia.freenix.fr>
In-Reply-To: <19980125180846.52993@keltia.freenix.fr>; from Ollivier Robert on Sun, Jan 25, 1998 at 06:08:46PM %2B0100
References:  <19980125180846.52993@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Ollivier Robert:
> I'm getting this weird error in buildworld. It used to work...

The following does fix it but why did it stopped working ?

I fixed all the gnu/usr.bin/cc/*/Makefile as well (and don't tell me my cvs
shouldn't emit Index: lines).

Index: cc1plus/Makefile
===================================================================
RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cc1plus/Makefile,v
retrieving revision 1.13
diff -u -2 -r1.13 Makefile
--- Makefile	1997/10/05 09:39:06	1.13
+++ Makefile	1998/01/25 18:44:37
@@ -20,5 +20,5 @@
 .ORDER: parse.c parse.h
 parse.c parse.h: parse.y
-	${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c 
+	${BISON} -o parse.c -d ${GCCDIR}/cp/parse.y
 	grep '^#define[   ]*YYEMPTY' parse.c >>parse.h
 
Index: cc_tools/Makefile
===================================================================
RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cc_tools/Makefile,v
retrieving revision 1.6
diff -u -2 -r1.6 Makefile
--- Makefile	1998/01/25 09:47:46	1.6
+++ Makefile	1998/01/25 18:40:03
@@ -29,5 +29,5 @@
 .ORDER: bi-parser.c bi-parser.h
 bi-parser.c bi-parser.h:	bi-parser.y
-	${BISON} ${BISONFLAGS} -d ${.ALLSRC} -o bi-parser.c
+	${BISON} ${BISONFLAGS} -o bi-parser.c -d ${.ALLSRC}
 
 SRCS+= bi-parser.c bi-parser.h
@@ -89,5 +89,5 @@
 	    -e "/^ifc$$/d" -e "/^end ifc$$/d" \
 	    ${GCCDIR}/c-parse.in > c-parse.y
-	${BISON} -d c-parse.y -o c-parse.c 
+	${BISON} -o c-parse.c -d c-parse.y
 	rm -f c-parse.y
 
@@ -102,5 +102,5 @@
 	    -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
 	    ${GCCDIR}/c-parse.in > objc-parse.y
-	${BISON} -d objc-parse.y -o objc-parse.c 
+	${BISON} -o objc-parse.c  -d objc-parse.y
 	rm -f objc-parse.y
 
Index: cpp/Makefile
===================================================================
RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cpp/Makefile,v
retrieving revision 1.10
diff -u -2 -r1.10 Makefile
--- Makefile	1997/10/05 09:39:08	1.10
+++ Makefile	1998/01/25 18:44:01
@@ -12,5 +12,5 @@
 .ORDER: cexp.c cexp.h
 cexp.c cexp.h: cexp.y
-	${BISON} -d ${GCCDIR}/cexp.y -o cexp.c
+	${BISON} -o cexp.c -d ${GCCDIR}/cexp.y
 
 CLEANFILES+= cexp.c cexp.h
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #4: Sun Jan 18 15:50:16 CET 1998



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980125194153.58529>