From owner-cvs-user Fri May 8 23:21:19 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA02019 for cvs-user-outgoing; Fri, 8 May 1998 23:21:19 -0700 (PDT) (envelope-from owner-cvs-user) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01969; Fri, 8 May 1998 23:20:03 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id QAA21201; Sat, 9 May 1998 16:18:35 +1000 Date: Sat, 9 May 1998 16:18:35 +1000 From: Bruce Evans Message-Id: <199805090618.QAA21201@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-user@FreeBSD.ORG, jb@FreeBSD.ORG Subject: Re: cvs commit: src Makefile Sender: owner-cvs-user@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified files: > . Makefile > Log: > Fix the problem people are having building -current on a -stable system. > The headers that are installed in WORLDTMP are part of the interface > that includes libraries like libc, so they must be installed together. No, target headers must be installed before building target libraries, but neither should be used for building libraries or tools that run on the host. Building lib-tools using target headers and host libraries was especially wrong. > This means that lib-tools and build-tools should be merged. The FreeBSD Wrong quick fix. The correct quick fix is to merge include-tools with lib-tools and fix whatever breaks. A not so quick fix would merge all the tools and delete building of bootstrap-libraries and fix whatever breaks. This assumes that the host system contains adequate includes and libraries to build the tools. > build only works in hosted form where it is assumed that the installed > version contains adequate tools to build the latest release. No, it worked for some old versions of FreeBSD (2.1.late or 2.2.early) which didn't contain adequate versions of make or ld. make was missing the -m flag and ld was missing the -O flag. This was handled by using special kludges for make and by building ld in lib-tools before building bootstrap-libraries. The latter is now broken. Bruce