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 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?

> For ia64, binutils changed a few times. If we have -B./
> -B$(build_tooldir)/bin/ and -B$$r/gcc -B$(build_tooldir)/bin/, the
> old one in $(build_tooldir)/bin/ will be used. As the result, we get
> some strange errors.

This is really strange.  There must be something wrong with -B
handling, then.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


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