why does DMD compile "hello world" to about 500 _kilobytes_ on Mac OS X [x86_64]?!?

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 1 23:18:28 PDT 2014


On 01/09/14 20:33, Dicebot wrote:

> Any reason why it can't work for OSX in a same way? Assuming LDC does
> emit ModuleInfo & Co sections the same way it does on Linux, using OSX
> specific alternative to --gc-sections should "just work".

It does not emit these sections the same way, at least not on DMD.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list