Using Dub

Daniel N via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 15 09:25:17 PST 2017


On Sunday, 15 January 2017 at 13:23:25 UTC, Russel Winder wrote:
> Is there any way of setting dub to default to ldc2 rather than 
> dmd as the compiler of use? (I do not want to have to put 
> --compiler ldc2 on every dub command.)

I have never used dub, but I know it's now also bundled with ldc2.

I would assume that if your PATH to ldc2 comes before that of 
dmd, it would find the ldc2 bundled version of dub and it would 
do the smart thing(if not, that's a bug).



More information about the Digitalmars-d-learn mailing list