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
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to