Want to write ldc2.conf

NonNull non-null at use.startmail.com
Sat Aug 3 22:18:41 UTC 2019


On Saturday, 3 August 2019 at 21:58:11 UTC, NonNull wrote:
> OK, I tried editing a copy of the config file that came with.
>
> In accordance with https://wiki.dlang.org/Using_LDC I put it in 
> my Windows home directory.

As this didn't work, I put it next to the executable I was 
compiling. Now it compiled immediately with no extra -I or -L on 
the command line. So my lcd2.conf is correct.

So I followed https://wiki.dlang.org/Using_LDC again. It says 
that ~/.ldc is also searched before etc/ next to bin directory 
containing ldc2 executable.

So I made a .ldc/ directory in my Windows home directory and put 
my ldc2.conf there.

Also did not work.

Tried renaming to .ldc2/ also did not work.

I have exhausted the possibilities according to 
https://wiki.dlang.org/Using_LDC that do not involve modifying 
the binary installation I am using.

What is the answer?




More information about the digitalmars-d-ldc mailing list