This is the mail archive of the binutils@sources.redhat.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: A patch for default version and archive


Jakub Jelinek <jakub@redhat.com> writes:

> One issue is with explicit -I and -L arguments passed to gcc on the
> command line. E.g. most of X programs pass -L/usr/X11R6/lib which points to
> the latest ABI and that user argument would come before spec file supplied
> path to some older ABI X libraries. Likewise with programs passing
> -I/usr/include if they want to use some headers with lesser priority than
> system headers.

Yep, this is why I've said that gcc (the driver) needs some work.  It
should map the -I and -L parameters to appropriate places in the
alternative tree iff they exist.  Otherwise the method we are
currently using in RH installations would work.  It doesn't always.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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