"The std.stdio package imports most the standard library" etc.
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sun Aug 31 23:13:44 PDT 2014
On 01/09/14 02:10, Abe wrote:
> Thanks, Adam.
>
> Is this roughly the same on all relevant platforms for DMD?
>
> I was thinking [hoping?] that maybe this was a problem vis-a-vis the Mac
> OS X linker, i.e. a situation such that the linker isn`t dropping
> anything from the referenced libraries, even when the majority of the
> stuff in those library files is not being used in the
> currently-being-linked object file.
It's not just a problem with the linker on OS X. The same problem exists
on Linux and Windows as well. On Linux with LDC the --gc-sections flag
is used which will reduce the binary size.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list