This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html


On Sun, May 21, 2000 at 08:43:32PM -0300, Alexandre Oliva wrote:
> On May 21, 2000, "H . J . Lu" <hjl@valinux.com> wrote:
> 
> > Ok, here is the patch. I also swapped the order of -B./ | -B$$r/gcc
> > and -B$(build_tooldir)/bin/ since the last one will be used and we want
> > to use the one in gcc.
> 
> AFAIK, multiple -B flags accumulate, and they're searched
> left-to-right.  Therefore, the change is actually arranging for
> installed binaries to be preferred over non-installed ones, which is
> obviously wrong.  BTW, wouldn't it cause the installed `cpp' driver to
> be found when what we want is the actual preprocessor, in the gcc
> build directory?

I have verified that the last valid -B will be used, at least it
is the case for gcc 2.95 and ia64 gcc. I don't think it is changed
in gcc 3.0.

You can put some dummy "as" in some directories. Those dummy "as"
just echo something you can tell them apart. Then use -B to see
which one is called.

H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]