Date: Wed, 10 Jun 1998 00:49:32 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/config config.h config.y main.c mkioconf.c mkmakefile.c mkswapconf.c Message-ID: <199806091449.AAA04777@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files: > usr.sbin/config config.h config.y main.c mkioconf.c > mkmakefile.c mkswapconf.c > Log: > Add (mostly stub) alpha support. Incidentally, it doesn't build on stable > unless I manually construct y.tab.h. Is this normal? Yes. -stable doesn't automatically generate a rule to construct y.tab.h, and because of this the build doesn't actually work in some cases: - when someone removes y.tab.h. Workaround: don't remove it. - when the command that builds y.tab.h as a side effect doesn't happen to get run before y.tab.h is used. Workaround 1: always build .depend first. Workaround 2: order SRCS magically so that the command gets that builds y.tab.h gets run early enough. Workaround 3: don't use -j, or workaround 2 might not work. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806091449.AAA04777>