From owner-freebsd-current Wed Jun 10 15:07:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02464 for freebsd-current-outgoing; Wed, 10 Jun 1998 15:07:30 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02403 for ; Wed, 10 Jun 1998 15:07:18 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id IAA16177; Thu, 11 Jun 1998 08:10:44 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806102210.IAA16177@cimlogic.com.au> Subject: Re: Make world problem In-Reply-To: <199806101758.KAA00260@usr01.primenet.com> from Terry Lambert at "Jun 10, 98 05:58:05 pm" To: tlambert@primenet.com (Terry Lambert) Date: Thu, 11 Jun 1998 08:10:44 +1000 (EST) Cc: jb@cimlogic.com.au, bjc23@hermes.cam.ac.uk, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > > yacc -d -o parse.c /usr/src/usr.bin/lex/parse.y > > > usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename > > > > You need to build and install yacc first. Your installed yacc doesn't > > know about the -o arg. Are you building on an oldish -current, -stable > > or something else? > > Why is the makefile depending on -o? So that it can choose the output file name like other utilities (such as ld). > It makes much more sense to use the -b; at least that way, the > generated file is fairly recognizable as being the output of yacc. I'll let you argue this with Bruce. 8-) > It's really a pain, especially when someone is depending on particular > features, to get some code from the net and then not be able to "touch" > all the generated files so that I don't have to re-yacc them and thus > subject myself to this type of screwup. 8-(. I don't understand what building FreeBSD sources with FreeBSD tools has to do with obtaining code from the 'net. If there is an issue here, I think it is that yacc is not built early in a make world line make itself is. A second issue is that the make world should check the kernel version so that a build on 2.2.5, for example, can build the extra tools early on without penalizing everyone with later systems. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message