Breaking changes to command-line semantics

kink via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Oct 4 01:11:06 PDT 2016


On Tuesday, 4 October 2016 at 06:21:17 UTC, Joakim wrote:
> Looks good, I especially need the last one about ordering for 
> Android, because the linker needs the object file with main() 
> to be first, as that's the way it brackets the emulated TLS 
> data on Android properly.

Hi Joakim,

then `-main` will be a problem, since it's implemented (in DDMD's 
mars.d) by appending the fake main module as last file. It'll 
therefore be the last object file for the linker.


More information about the digitalmars-d-ldc mailing list