This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: redefining dynamic symbols??? -- why I want to.
On Wed, Jul 17, 2002 at 08:50:18AM -0700, Jorge Luis Williams wrote:
> > Try
> >
> > # gcc -o exe_a .... -l_c
> > # gcc -shared -Wl,-Bsymbolic -o lib_b.so .... -l_c
> >
> > It should work. If not, file a bug report with a small testcase.
> >
>
> I'm sorry, what is -l_c supposed to do -- I have my linker looking for a
> library _c?? Or is it a compilation flag??
> jOrGe W.
>
>
-l_c will look for lib_c.a/lib_c.so. Or you can use
# gcc -o exe_a .... lib_c.so
# gcc -shared -Wl,-Bsymbolic -o lib_b.so .... lib_c.a
H.J.