Re: How to use dub with ldc

2022-10-22 Thread ryuukk_ via Digitalmars-d-learn
On Saturday, 22 October 2022 at 18:08:51 UTC, tobi wrote: Hi, I'm new to D and I would like to get the dlang-tour onto my local machine. As far as I know, on my Pinebook Pro using aarm64 architecture, I must use the LDC compiler. The dlang-tour readme says to run `dub run dlang-tour -- --lang

Re: How to use dub with ldc

2022-10-22 Thread rikki cattermole via Digitalmars-d-learn
If you only have one compiler available, dub will use it (doesn't matter if its dmd/ldc/gdc). rdmd is a tool that wraps dmd/ldc/gdc. https://github.com/dlang/tools/blob/master/rdmd.d If you only have ldc in your PATH variable, rdmd just "just work".

How to use dub with ldc

2022-10-22 Thread tobi via Digitalmars-d-learn
Hi, I'm new to D and I would like to get the dlang-tour onto my local machine. As far as I know, on my Pinebook Pro using aarm64 architecture, I must use the LDC compiler. The dlang-tour readme says to run `dub run dlang-tour -- --lang-dir .` which will run `rdmd` commands. Is there a way to