Date: Sat, 11 Dec 1999 18:01:48 +0200 (SAT) From: John Hay <jhay@mikom.csir.co.za> To: marcel@FreeBSD.org (Marcel Moolenaar) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 Message-ID: <199912111601.SAA45446@zibbi.mikom.csir.co.za> In-Reply-To: <199912101048.CAA34341@freefall.freebsd.org> from Marcel Moolenaar at "Dec 10, 1999 02:48:22 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912111601.SAA45446>
