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 11:09:19 PDT 2014


On 2014-09-01 19:23, Dan Olson wrote:

> When I try -dead_strip with DMD, I get runtime SEGV with simple writeln
> hello world :-(

It will probably clean out TLS, module info and similar data which is 
not reachable from the main function.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list