This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Support you run
ld -Lfoo -lfoo -Lbar -lbar
The proposed change appears to argue that the -Lbar should not apply
to the -lfoo. However, that only matters if foo/libfoo.a does not
exist.
That is true.
What this shows is that even if the order of options were not rearranged,
the -L feature is insufficient for controlling which libraries are used,
for the reason that it can only add to the end of the search list.
So I guess we might as well not change this unless/until we also make
it powerful enough to alter the search list in more flexible ways.
I don't know of an urgent need to do that.