From owner-freebsd-current Sat Nov 11 09:26:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA21585 for current-outgoing; Sat, 11 Nov 1995 09:26:05 -0800 Received: from linus.demon.co.uk (linus.demon.co.uk [158.152.10.220]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA21579 for ; Sat, 11 Nov 1995 09:25:49 -0800 Received: (from mark@localhost) by linus.demon.co.uk (8.7.1/8.7.1) id RAA27668; Sat, 11 Nov 1995 17:06:37 GMT Date: Sat, 11 Nov 1995 17:06:37 GMT From: Mark Valentine Message-Id: <199511111706.RAA27668@linus.demon.co.uk> In-Reply-To: J Wunsch's message of Nov 8, 9:50am X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch), mark@grondar.za (Mark Murray) Subject: Re: Lint won't bootstrap... Cc: current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk > From: J Wunsch > Date: Wed 8 Nov, 1995 > Subject: Re: Lint won't bootstrap... > Does anybody have a good idea on how to make bootstrapping for the > people as easy as possible? The biggest problem is that you can > compile the llib subdir only after first succesfully installing from > the xlint subdir, so a running version of lint(1) is around. A slightly messy way would be to have lint grow a -B option (like gcc's), symlink lint1 and lint2 into xlint's obj directory (on the fly), and invoke the just-built lint as: ../xlint/xlint -B../xlint/xlint/ -Cposix ${.ALLSRC} ../xlint/xlint -B../xlint/xlint/ -Cstdc ${.ALLSRC} A slightly less messy way (without the symlinks) might be to have options to explicitly specify the pathnames of lint1 and lint2 on the command line, or via environment variables. By the way, I'd bootstrap other stuff this way too, where it's important to pick up a current source tree version rather than a (possibly older or for-another-target) version. (Like config for the kernel build...) For multiple source trees to work, I prefer self-building source trees to multiple installation trees. Mark. --