Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 1998 19:07:18 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, jb@FreeBSD.ORG
Subject:   Re: cvs commit: src/games/hack Makefile
Message-ID:  <199808150907.TAA11604@cimlogic.com.au>
In-Reply-To: <199808150833.SAA28597@godzilla.zeta.org.au> from Bruce Evans at "Aug 15, 98 06:33:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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