Add targets for release binaries? (1.3+)
kinke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri May 5 09:43:01 PDT 2017
On Friday, 5 May 2017 at 16:27:10 UTC, Adrian Matoga wrote:
> Is this included in the releases? Or at least in master?
> I'm trying it out with 1.2.0 and LDC doesn't seem to pick up
> anything but "default", whatever -mtriple I pass to it.
This is how our Win64 multilib package handles linking Win32 and
Win64 binaries, so it's in master for at least a year or so. I
just tested our prebuilt 1.2 Linux x64 package just to make sure
and it works.
By adding `-v` to the LDC command line, you see the used config
file and, in parentheses, the section being looked up (falling
back to `default` if it's missing), e.g. (when specifying `-m32`
or `-mtriple=i686-unknown-linux-gnu`):
binary /home/martin/ldc2-1.2.0-linux-x86_64/bin/ldc2
version 1.2.0 (DMD v2.072.2, LLVM 4.0.0)
config /home/martin/ldc2-1.2.0-linux-x86_64/etc/ldc2.conf
(i686-unknown-linux-gnu)
...
More information about the digitalmars-d-ldc
mailing list