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] |
> > > I don't remember that. I understand -static will turn off the lib*.so* > > search. > > > > -- > > H.J. Lu > > NYNEX Science and Technology, Inc. hjl@nynexst.com > > > I never got around to implementing this behavior in gcc (I complained > about it for years...) > > On Sun, the linker allows you to do: > > ld *.o -lfoo1 -Bstatic -lfoo2 -Bdynamic -lfoo3 > > (essentially specially which libraries to link statically). > > In order to get the same behavior, you need to do: > ld *.o -lfoo1 /usr/lib/libfoo.a -lfoo3 > with gcc/ld > I will implement it if noone does and I have the time. First we have to agree on what syntax to use. -Bstatic/-Bdynamic or -static/-dynamic? -- H.J. Lu NYNEX Science and Technology, Inc. hjl@nynexst.com