From owner-cvs-all Sat Dec 11 8: 2: 3 1999 Delivered-To: cvs-all@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id A2AA914EED; Sat, 11 Dec 1999 08:01:51 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id SAA45446; Sat, 11 Dec 1999 18:01:48 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <199912111601.SAA45446@zibbi.mikom.csir.co.za> Subject: Re: cvs commit: src Makefile.inc1 In-Reply-To: <199912101048.CAA34341@freefall.freebsd.org> from Marcel Moolenaar at "Dec 10, 1999 02:48:22 am" To: marcel@FreeBSD.org (Marcel Moolenaar) Date: Sat, 11 Dec 1999 18:01:48 +0200 (SAT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Hi Marcel, Make release is still broken here. The "problem" is the new ${MACHINE_ARCH} that is added to /usr/obj in a "cheat" sort of way so that the cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees line in the release.2 line in release/Makefile can't find the stuff in the /usr/obj dir. It then dies with: ------------- install -C -o root -g wheel -m 444 /usr/src/include/osreldate.h /R/stage/trees/bin/usr/include install: /usr/src/include/osreldate.h: No such file or directory *** Error code 71 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src/include. ------------ On a side note, while I like the idea of cross compiling, I would like it if "make world" and just going into a source directory and doing a make there, would use the same place for the object files. From just looking at it, it looks like they will use different directories under /usr/obj. Maybe define MAKEOBJDIRPREFIX to always have MACHINE_ARCH included (somewhere in share/mk maybe?) or maybe not have a standard "make world" add MACHINE_ARCH to /usr/obj? > The object tree now is /usr/obj/${MACHINE_ARCH}${.CURDIR}. > > This allows concurrent cross-builds and allows the object tree to be > shared on different archs., each doing the same cross-build. This of > course assumes that the output on Alpha (for example) is the same as > the output of an Alpha cross-build on i386 (for example). > John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message