[WiP] Creating a snap package of LDC

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Aug 28 13:30:49 PDT 2016


On Sunday, 28 August 2016 at 20:12:44 UTC, Joseph Rushton 
Wakeling wrote:
>> how would I ensure that the built ldc2 tries to use _that_ 
>> linker rather than some other one?

There's a hidden `-gcc=<pathToGcc>` switch supported by LDC. So I 
guess specifying that one in the default switches in the 
ldc2.conf file does the trick (e.g., `-gcc=%%ldcbinarypath/gcc`).
Not sure about the requirements, but shipping with both 32/64 bit 
libs would surely be nice. See 
https://github.com/ldc-developers/ldc/blob/master/driver/linker.cpp for some default libs and switches passed to the linker.

And yes, ldc-profdata is pretty new.



More information about the digitalmars-d-ldc mailing list