From owner-cvs-all Sat Aug 15 01:59:39 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06493 for cvs-all-outgoing; Sat, 15 Aug 1998 01:59:39 -0700 (PDT) (envelope-from owner-cvs-all) 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 BAA06488; Sat, 15 Aug 1998 01:59:30 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id TAA11604; Sat, 15 Aug 1998 19:07:18 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199808150907.TAA11604@cimlogic.com.au> Subject: Re: cvs commit: src/games/hack Makefile In-Reply-To: <199808150833.SAA28597@godzilla.zeta.org.au> from Bruce Evans at "Aug 15, 98 06:33:45 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sat, 15 Aug 1998 19:07:18 +1000 (EST) Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, jb@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-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > Modified files: > > games/hack Makefile > > Log: > > Build the makedefs program static to avoid trying to use the shared > > loader before it has been installed in an aout to elf transition build. > > This was already fixed in rev.1.16 (honour CFLAGS ...). `make world' > builds everything (that actually honours CFLAGS) static by putting > -static in CFLAGS (except in the NOCLEAN case) to avoid hundreds of > problems like this. NOCLEAN just can't be used for transition builds. Since the build I'm doing is with NOTOOLS set, the issue arises during a `normal' build, not a bootstrap where the MK_FLAGS are set in the manner you describe. The commit message accurately describes the problem. If I can install these tools and execute them as host tools (like strfile in games/fortunes), that is a better solution, but it is not clear what mechanism there is to do that currently. I think that making the transition build work like a cross-build kills two birds with one stone (rock? YMMV). If I solve the issue about those wretched build-n-execute-but-don't-install tools, then it will be possible to cross compile x86-elf on alpha. The possibilities beyond that are obvious (I hope) 8-). -- 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