From owner-freebsd-current Fri Dec 15 22:37:48 2000 From owner-freebsd-current@FreeBSD.ORG Fri Dec 15 22:37:45 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mail.jeamland.net (rafe.jeamland.net [203.18.243.114]) by hub.freebsd.org (Postfix) with ESMTP id 34F0037B400 for ; Fri, 15 Dec 2000 22:37:45 -0800 (PST) Received: by mail.jeamland.net (Postfix, from userid 1000) id 325B870601; Sat, 16 Dec 2000 17:37:42 +1100 (EST) Date: Sat, 16 Dec 2000 17:37:42 +1100 From: Benno Rice To: Marcel Moolenaar Cc: Bruce Evans , freebsd-current@FreeBSD.org Subject: Re: Patch to allow overriding of nm in lorder, genassym.sh Message-ID: <20001216173742.A57825@rafe.jeamland.net> References: <20001213224645.A16171@rafe.jeamland.net> <20001214234559.B29875@rafe.jeamland.net> <3A39DFB8.2636725A@cup.hp.com> <20001216134045.A47731@rafe.jeamland.net> <3A3B07B5.7E2E016F@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A3B07B5.7E2E016F@cup.hp.com>; from marcel@cup.hp.com on Fri, Dec 15, 2000 at 10:12:05PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 15, 2000 at 10:12:05PM -0800, Marcel Moolenaar wrote: > Benno Rice wrote: > > > > As to the use of a prefix, > > I just thought it'd be easier to be able to completely override the name of > > the binary we're using in the same way that I could do: > > > > setenv CC /usr/local/bin/ultra-funky-c-compiler-pro > > > > and have it work. > > But can we not already do: > > set path=(/usr/local/ultra-funky-c-compiler-pro/bin $path) > cc -Oberserk -c foo.c > > and have it work? Not if the binary's not called cc, no. The nm binary I'm trying to use is called powerpc-elf-nm I can set CC in my environment to powerpc-elf-gcc and, provided I have my path set correctly, it works. I can't do the same with NM. This is what my patch addresses. -- Benno Rice benno@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message