[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: somewhat misleading -no-undefined documentation
From: |
Simon Josefsson |
Subject: |
Re: somewhat misleading -no-undefined documentation |
Date: |
Tue, 12 Oct 2010 11:19:47 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> I kinda like Simon's patch you referenced (wow, that's old!), so how
> about this patch which takes from both your suggestions?
I like it. Thanks, this closes a long-standing libtool concern of mine.
Generally, having to use -no-undefined to get things to work on some
platforms (e.g., to get a working DLL) is somewhat obscure and seems
counter to having the default behaviour Just Work. Is there any reason
-no-undefined cannot be the default? Is it common for installed
libraries to have unresolved symbols at link time? Even if it is,
couldn't libtool figure out that there aren't any external symbols, and
create the DLL when it is possible? I may be missing some details
though.
/Simon