Breaking changes to command-line semantics
Joakim via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Oct 3 23:21:17 PDT 2016
On Saturday, 1 October 2016 at 17:14:53 UTC, kinke wrote:
> Hi all,
>
> LDC lately streamlined its main() and output filenames with
> DMD, leading
> to a few breaking changes to command-line semantics.
---
> * The object files order for the linker now corresponds to the
> command-
> line order of source and object files.
> The previous order was all existing object files in
> command-line order,
> then all new object files in reversed command-line order.
> For singleobj builds, the single new object file is always
> the first
> one, preceding all existing object files.
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.
More information about the digitalmars-d-ldc
mailing list