[WiP] Creating a snap package of LDC

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Aug 28 06:28:33 PDT 2016


On Sunday, 28 August 2016 at 12:56:17 UTC, Joseph Rushton 
Wakeling wrote:
> Is there any way of providing a similarly 
> relative-to-compiler-path -I option to ldc2 and/or ldmd2 ... ?

Of course; the Windows package is already portable.
`%%ldcbinarypath%%` is replaced by the directory containing the 
ldc2 executable. So `-I%%ldcbinarypath%%/../include/d` etc. is 
the way to go.


More information about the digitalmars-d-ldc mailing list