This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [RFA:] Make collect2 pass on -B-options to called gcc


> From: Alexandre Oliva <aoliva@redhat.com>
> Date: 16 Sep 2000 11:42:05 -0300

> On Sep 16, 2000, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> 
> > Collect2 must pass on -B switches when calling gcc, or gcc will pick up a
> > different assembler or whatnot at the installation directory or other
> > default-searched location.  Note that -B-options can be specified as
> > "-Bdir/" or "-B dir/".
> 
> Doesn't it do something equivalent by setting environment variables?

As the ChangeLog entry indicated, this is the place where the
environment variable (COLLECT_GCC_OPTIONS) is used; the -B
options are filtered out currently.  You won't see a sub-gcc
called for most (ELF) targets, though.

brgds, H-P

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