Want to write ldc2.conf

NonNull non-null at use.startmail.com
Sat Aug 3 21:58:11 UTC 2019


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.

I added a post switch to add an include directory and one to add 
a lib directory.

According to https://wiki.dlang.org/Using_LDC having my ldc2.conf 
in my Windows home directory should be found before the default 
in etc/ alongside the directory that lcd2.exe is in.

Yet my ldc2.conf file is not being read: nothing different 
happens when I compile. It complains with a single location for 
import path when I have two such.

So it seems that https://wiki.dlang.org/Using_LDC is not correct.

Now what?

Please give me some working directions for where to put ldc2.conf 
NOT inside my ldc2 distribution.




More information about the digitalmars-d-ldc mailing list