From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynexst.com (H.J. Lu) To: leisner@sdsp.mc.xerox.com (Marty Leisner) Cc: raeburn@cygnus.com (Ken Raeburn), gas2@cygnus.com Subject: Re: binutils 2.5.2l.10 is released. Date: Mon, 01 May 1995 13:29:00 -0000 Message-id: <9505012026.AA04105@titanic.nynexst.com> References: <9505012011.AA14501@gnu.mc.xerox.com> X-SW-Source: 1995/msg00081.html > > > 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