On Wed, Aug 13, 2008 at 07:18:48PM +0200, Lennart Poettering wrote:
> On Wed, 13.08.08 11:32, Daniel Macks ([EMAIL PROTECTED]) wrote:
> 
> > -version-script is an ELF/GNU-ld feature, not available with other
> > linkers & platforms. Libtool already knows when to use it, so attached
> > path just piggy-backs on their main test for this feature. I think
> > they also exclude some other platforms, but this appears to work on
> > linux (passes the flag, tested with libtool-1.5.22) with and OS X
> > (doesn't pass it, tested with libtool-2.2.4).
> 
> Thanks, merged.
> 
> I wasn't aware that MacOS X wasn't using ELF. What do they use?

It's mach-o, and has its own proprietary linker.

$ ld -v
Apple Computer, Inc. version cctools-622.9~2

It supports all standard linking concepts (and importantly, libtool
knows all the details), but it doesn't do lots of things "the way one
expects" (different shared-library extension, library-paths are
hard-coded at compile-time, no such thing as ldconfig, DYLD_* env
variables work differently).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks

_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to