Skip to content

Commit

Permalink
Document new optional configuration file name
Browse files Browse the repository at this point in the history
Document the feature introduced by:
dlang/dmd#2095
  • Loading branch information
leandro-lucarella-sociomantic committed Jun 6, 2013
1 parent 311a4cc commit f9b6d42
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dcompiler.dd
Expand Up @@ -768,6 +768,11 @@ $(WINDOWS
$(LI directory $(B dmd.exe) resides in)
)

Additionally, starting from DMD 1.077 and to ease D1 to D2 migration,
it will first look for a file $(D sc1.conf) in the same locations
described above. This way you can have both dmd1 and dmd2 installed and
use $(D sc1.conf) for D1 and $(D sc.conf) for D2.

$(P If found, environment variable
settings in the file will override any existing settings.
This is handy to make $(B dmd) independent of programs with
Expand Down Expand Up @@ -838,6 +843,11 @@ $(UNIX
$(LI $(D /etc/))
)

Additionally, starting from DMD 1.077 and to ease D1 to D2 migration,
it will first look for a file $(D dmd1.conf) in the same locations
described above. This way you can have both dmd1 and dmd2 installed and
use $(D dmd1.conf) for D1 and $(D dmd.conf) for D2.

$(P If found, environment variable
settings in the file will override any existing settings.
This is handy to make $(B dmd) independent of programs with
Expand Down

0 comments on commit f9b6d42

Please sign in to comment.