question about -print-search-dirs
Ian Lance Taylor
iant@google.com
Tue Sep 12 15:58:00 GMT 2006
"Kate Minola" <kate01123@gmail.com> writes:
> For both lists of libraries, the directories exist. So I don't understand
> your answer.
In that case, I don't understand either. It does work as expected for
me. I should note that there is one general exception: /lib and
/usr/lib will not be passed as -L options, on the assumption that the
linker will search them anyhow.
Note that a/b/c/../../../x will only exist if a/b/c exists.
Ian
> On 11 Sep 2006 13:21:12 -0700, Ian Lance Taylor <iant@google.com> wrote:
> > "Kate Minola" <kate01123@gmail.com> writes:
> >
> > > I guess I would have expected that the two lists of libraries would be the
> > same,
> > > or perhaps that the second list would be contained in the first. But
> > > this does not
> > > seem to be the case.
> > >
> > > What am I missing?
> >
> > gcc only generates a -L option for directories which actually exist,
> > and which actually are directories.
> >
> > Ian
> >
More information about the Gcc
mailing list