Std. Lib and Binary Attribution

Robert Jacques sandford at jhu.edu
Fri Nov 13 12:15:56 PST 2009


On Fri, 13 Nov 2009 15:13:38 -0500, Adam D. Ruppe  
<destructionator at gmail.com> wrote:

> On Fri, Nov 13, 2009 at 02:54:53PM -0500, Robert Jacques wrote:
>> The problem is that if std.extra gets statically linked in (i.e. in the
>> normal manner), then you'd have to include the license, even if you  
>> don't
>> use the library.
>
> If it isn't referenced though, shouldn't the linker strip it out of the
> final binary?
>

Some stuff is always included, like module constructors, unittests, global  
variables, etc.



More information about the Digitalmars-d mailing list