On Tuesday, 2 September 2014 at 06:18:27 UTC, Jacob Carlborg wrote:
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 OSXspecific alternative to --gc-sections should "just work".It does not emit these sections the same way, at least not on DMD.
Well I am speaking about LDC ;) --gc-sections don't work with Linux DMD either.