On Tue, Apr 23, 2002 at 02:26:33 -0400, Paul Davis wrote:
> >I'm working on a library for accessing MIDI hardware, which uses plugins
> >to communicate with the hardware. Now I'm not sure how to compile
> >these shared libraries. Should I use -Bsymbolic? This makes the linker
> >give a warning when the library is not linked against all the shared
> >libraries
> 
> although i hate it in so many ways, i would strongly suggest that you
> use libtool. there are complexities associated with building shared
> libs that its better to leave to other tools.

I wouldn't recommend libtool for .so plugins, it makes a real mess of it.

I link with "ld -shared -Bsymbolic -lc -lm -o $@", but YMMV.

- Steve

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to