>>>>> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:

>> On Mac OS X, when we fold one library into another, we create a symlink
>> of the old library to the new. For example, libpoll and libpthread now
>> point to libSystem. Why not do the same here? Most linkers would ignore
>> or at least see nothing useful in the symlink library.

TA> Thanks. I was about to propose exactly the same thing, but wanted to do some
TA> testing first. Is anyone aware of a system where this approach would cause
TA> linking problems?

I'd be surprised.  All linkers I've ever seen handle multiple links to
the same library without issues.

The bigger issue, IMHO, is doing the linking.  I don't think it's as
easy as "just doing it".  IE, the whole reason we use libtool is
because of how different various systems are to library
installations.  Sadly, I don't think we can simply do a random ln -s
and have it work everywhere.  Installing it twice with 2 names is
likely more portable across every platform, or installing a small shim.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to