Add targets for release binaries? (1.3+)
Adrian Matoga via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri May 5 14:23:21 PDT 2017
On Friday, 5 May 2017 at 18:49:46 UTC, kinke wrote:
> On Friday, 5 May 2017 at 16:56:57 UTC, Adrian Matoga wrote:
>> It seems that LDC doesn't use the specified triple verbatim,
>> but may modify it, e.g. "arm-linux-gnueabi" becomes
>> "arm--linux-gnueabi".
>
> That 2nd component of the 4-component 'triple' bothers me too.
> I've only seen the values `pc`, `unknown`, `none` and now,
> thanks to you ;), even '' for it so far.
It seems that any number of components is accepted as a 'triple',
and if there's more than four, some of them are moved from the
inside to the back of it. :)
I'd like to have a couple of targets side by side that would all
use "arm-linux-gnueabi" (or maybe "arm-tizen-linux-gnueabi"?),
but would differ in their sysroot paths.
I could add extra components to the triple to distinguish these
targets and it'd work with the current LDC, but it seems a bit
hackish to me. What do you think?
More information about the digitalmars-d-ldc
mailing list