From owner-freebsd-current Tue Jun 25 20:20:41 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA29616 for current-outgoing; Tue, 25 Jun 1996 20:20:41 -0700 (PDT) Received: from linus.demon.co.uk (linus.demon.co.uk [158.152.10.220]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA29459 for ; Tue, 25 Jun 1996 20:18:28 -0700 (PDT) Received: (from mark@localhost) by linus.demon.co.uk (8.7.5/8.7.3) id EAA09754; Wed, 26 Jun 1996 04:16:40 GMT Message-Id: <199606260416.EAA09754@linus.demon.co.uk> From: mark@linus.demon.co.uk (Mark Valentine) Date: Wed, 26 Jun 1996 04:16:40 +0000 In-Reply-To: "Jordan K. Hubbard"'s message of Jun 25, 7:15pm X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: "Jordan K. Hubbard" Subject: Re: Building inside of /usr/src? Cc: Bruce Evans , freebsd-current@freebsd.org, nate@sri.mt.net Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: "Jordan K. Hubbard" > Date: Tue 25 Jun, 1996 > Subject: Re: Building inside of /usr/src? > > What, even without /home/joe/src/obj? How about if joe had: > > > > /home/joe/src/obj.i386 -> /home/joe/i386/obj > > /home/joe/src/obj.sparc -> /home/joe/sparc/obj > > That never worked. :-) Have you tried it? :-) $ cd ~/tmp $ mkdir src i386 i386/obj $ cd src $ ln -s ../i386/obj obj.i386 $ vi foo.c $ make foo cc -O2 -m486 -pipe /home/mark/tmp/src/foo.c -o foo $ ls foo.c obj.i386 $ ls obj.i386 foo $ obj.i386/foo Yes, it does. This is -current from Saturday. I'd imagine that the /usr/share/mk/*.mk rules are even fixed to avoid breaking this for /usr/src in one or more of NetBSD, OpenBSD and BSD/OS, and would be fixed in short order for FreeBSD as soon as other platforms became interesting. > > I think I remember some implementation bugs along these lines. That's > > a far cry from being a design bug, though. > > It's fundamentally the same thing if a) nobody is going to fix it and > b) it impacts your work. Who cares if it was design or implementation > related if you're still suffering either way? I guess it matters very little if you're overworked and have a deadline. :-( Mark. -- Mark Valentine at Home