Date: Sat, 16 Dec 2000 17:37:42 +1100 From: Benno Rice <benno@FreeBSD.org> To: Marcel Moolenaar <marcel@cup.hp.com> Cc: Bruce Evans <bde@zeta.org.au>, freebsd-current@FreeBSD.org Subject: Re: Patch to allow overriding of nm in lorder, genassym.sh Message-ID: <20001216173742.A57825@rafe.jeamland.net> In-Reply-To: <3A3B07B5.7E2E016F@cup.hp.com>; from marcel@cup.hp.com on Fri, Dec 15, 2000 at 10:12:05PM -0800 References: <20001213224645.A16171@rafe.jeamland.net> <Pine.BSF.4.21.0012142237280.3687-100000@besplex.bde.org> <20001214234559.B29875@rafe.jeamland.net> <3A39DFB8.2636725A@cup.hp.com> <20001216134045.A47731@rafe.jeamland.net> <3A3B07B5.7E2E016F@cup.hp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001216173742.A57825>