Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 03:26:02 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, jhay@mikom.csir.co.za
Subject:   Re: /usr/obj/elf, /usr/obj/aout, /usr/obj - breaks make all vs make buildworld, and other things.  Time to make elf the default
Message-ID:  <199901121626.DAA09095@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I'd like to commit it, but first want to know if there is serious complaints
>about it.

It was a feature to build the world in a separate subdirectory.
`make world' under certain conditions creates .depend files that are
inconsistent with ones created by plain `make'.  If you know enough
about the world building process to avoid problems from this, then you
should know enough to use the same obj directory tree for `make' as for
`make world' (`MAKEOBJDIRPREFIX=whatever make').  I always build worlds
in a separate obj tree on purpose.

>The effect is that /usr/obj/elf is no longer used for the elf objects.
>So if you do a make world and then later go and recompile something in
>a subdirectory, it will use the same obj directory. Also snaps and
>release source tarballs won't have the stray .o files anymore.

`make world' could run `make cleandir' twice to clean up sloppily
maintained obj trees.  The first pass cleans the canonical object tree
if it exists and the source tree otherwise, or parts of each if the
canonical object tree is partial.  The second pass cleans the source
tree.

Bruce

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



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