On 14-Nov-2007, at 07:57, Benjamin Reed wrote:
I have. Lots. I'm one of the maintainers for Fink (a Mac OS X
"distribution") and I've been porting stuff to OSX since 2001. OSX
has
linker quirks as weird as AIX's (and shares AIX's "shared libraries !=
loadable modules" mentality). Early on, it was a nightmare because
libtool didn't understand OSX, but as libtool got fixed to work around
weirdness in linking on OSX, it got less and less likely that the
build
system needed to be hacked up to work properly.
I guess either you slogged through the valley of hate, or OSX is as
important to the maintainers of libtool as Linux is, so it gets fixes.
"It's portable, it works on Linux and OSX."
Now, the only time we
have issues is when someone does something non-portable, be it
purposefully or not (linking directly against self-made .a files,
relying on ELF not caring which library it gets it's symbols from,
etc.)
If you think ELF doesn't care about what library it gets its symbols
from, you haven't had to debug a missing -R in a shared object build. :p
The ICMP library we use for OpenNMS was written by us on linux,
I will refrain from launching into OpenNMS hate, but let's just say
it was actually easier getting that beggar working on FreeBSD than on
the "wrong" version of Red Hat.