Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 1998 16:18:35 +1000
From:      Bruce Evans <bde@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
Message-ID:  <199805090618.QAA21201@godzilla.zeta.org.au>

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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