Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 02:20:53 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Michael Reifenberger <root@totum.plaut.de>
Cc:        FreeBSD-Current <current@freebsd.org>
Subject:   Re: Building inside of /usr/src? 
Message-ID:  <2277.835867253@time.cdrom.com>
In-Reply-To: Your message of "Thu, 27 Jun 1996 10:46:33 %2B0200." <Pine.BSI.3.94.960627103835.7404A-100000@totum.plaut.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> With current I noticed, that if I do a 'make obj' in /usr/src, I get for
> example a /usr/obj/a/src/lib/libc. 

Yeah, that looks right.

> If I do a 'make obj' directly in /usr/src/lib/libc I get a:
> /usr/obj/usr/src/lib/libc created for /usr/src/lib/libc

Urk - REALLY?  I don't understand this since the path should be
"canonicalized" in the same way, regardless of what depth in /usr/src
you happen to be.  Observe:

jkh@time-> ls -l /usr/src
lrwxr-xr-x  1 root  wheel  6 Jun 24 20:46 /usr/src -> /a/src

jkh@time-> cd /usr/src/lib/libc
jkh@time-> pwd
/usr/src/lib/libc
jkh@time-> make cleandir
jkh@time-> make obj
/usr/obj/a/src/lib/libc created for /a/src/lib/libc

Works for me!  Are you sure you didn't do something especially bizarre
in the second case?  I can't reproduce your error!

					Jordan



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