I tried setting gcc as an alias and it works when typing a command into the shell 
manual, but from what I see it pukes at times when make wishes to use gcc

I moved gcc to gcc.orig and set an alias for gcc=/usr/bin/gcc.orig
I wanted to make a kenel, this is an error I received when running make bzImage

make: gcc: Command not found
make: *** [init/main.o] Error 127

yet when I type gcc in bash I get...
bash-2.05a# gcc
gcc.orig: no input files


On Sun, 18 Aug 2002 19:36:10 -0600bash-2.05a# gcc

"Andrew J. Kopciuch" <[EMAIL PROTECTED]> wrote:

> On Sunday 18 August 2002 13:28, Richard Jenniss wrote:
> > For those speed freaks, who compile their own software.
> >
> > I've come up with a nice little hack to optimize your software without
> > having to set CFLAGS or CXFLAGS. (: and it will work with anything you
> > compile.
> >
> > If somoene has a better way to write this, email me, I'd be glad to hear.
> >
> 
> You might want to just place the command as an alias in your shell's rc file.
> 
> 1.  You do not need to move binaries
> 2.  You do not need extra executable scripts
> 3.  You don't force every user to use the modified gcc (what if you want the 
> old ... then you have to know it's binary is nor gcc.old).  Everyone has 
> write access to their own rc.  But not necessarily the path to gcc.

Reply via email to