From owner-freebsd-current Wed Dec 9 19:06:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA14875 for freebsd-current-outgoing; Wed, 9 Dec 1998 19:06:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA14869 for ; Wed, 9 Dec 1998 19:06:33 -0800 (PST) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.9.1/8.9.1) with SMTP id WAA01934 for ; Wed, 9 Dec 1998 22:06:26 -0500 (EST) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA17481; Wed, 9 Dec 1998 22:06:25 -0500 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.1/8.9.1) id WAA16498 for freebsd-current@freebsd.org; Wed, 9 Dec 1998 22:06:25 -0500 (EST) (envelope-from jwd) From: "John W. DeBoskey" Message-Id: <199812100306.WAA16498@bb01f39.unx.sas.com> Subject: Nit: Just what should objdir be? To: freebsd-current@FreeBSD.ORG Date: Wed, 9 Dec 1998 22:06:25 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL38 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I was bitten by a surprise case of 'which objdir are you using?' Pick a program, let's say sed... :-) Hi archie! cd /usr/src/usr.bin/sed && make The objects are put into /usr/obj/usr/src/usr.bin/sed. But wait, not all the objects rebuilt, and the linker is complaining about unrecognized file formats! Well, the default object tree was never cleaned out when the aout-elf conversion took place. Well, I blew the tree away, and now objects are getting written into the src dir. What I really want is the default to be /usr/obj/elf/usr/... (those do happen to be the objects linked into my live system you know), or /usr/obj/aout/usr/... if the current objformat is aout... So the question is: Should we update make to have the default objdir match the objformat that is currently set? Should we leave /usr/obj/usr alone? (I don't like this). Of course, maybe this is already fixed and I missed a config file update or something... :-) comments, critiques, and stupid user invectives are most welcome! Thanks! John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message