Skip to content

Commit 3670e67

Browse files
authored
Merge pull request #1716 from wilzbach/dmd-universal
Use a OS-independent link to the DMD manual
2 parents ab9f404 + 945a898 commit 3670e67

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

code_coverage.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ and is integrated into gcc.)
6565
$(P The D code coverage analyser is built in as part of the D compiler.
6666
Therefore, it is always in perfect synchronization with the language
6767
implementation. It's implemented by establishing a counter for each
68-
line in each module compiled with the $(DDSUBLINK dmd-windows,switch-cov, $(B -cov)) switch.
68+
line in each module compiled with the $(DDSUBLINK dmd,switch-cov, $(B -cov)) switch.
6969
Code is inserted
7070
at the beginning of each statement to increment the corresponding counter.
7171
When the program finishes, the runtime collects all
@@ -215,7 +215,7 @@ $(H3 Controlling the Coverage Analyser)
215215
$(COMMENT The behavior of the coverage analyser can be controlled through
216216
the $(DRUNTIMESRC rt/cover.d) module.)
217217

218-
$(P When the $(DDSUBLINK dmd-windows,switch-cov, $(B -cov)) switch is thrown,
218+
$(P When the $(DDSUBLINK dmd,switch-cov, $(B -cov)) switch is thrown,
219219
the $(DDSUBLINK spec/version, PredefinedVersions, version identifier)
220220
$(B D_Coverage) is defined.)
221221

index.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ $(DIVC boxes,
149149
$(LINK2 $(ROOT_DIR)spec/spec.html, language) and for
150150
$(LINK2 $(ROOT_DIR)phobos/index.html, phobos), D's standard
151151
library. The
152-
$(LINK2 $(ROOT_DIR)dmd-windows.html, DMD manual) tells you how
152+
$(LINK2 $(ROOT_DIR)dmd.html, DMD manual) tells you how
153153
to use the compiler. Read
154154
$(LINK2 $(ROOT_DIR)articles.html, various articles) to deepen
155155
your understanding.

spec/pragma.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $(H3 $(LEGACY_LNAME2 Predefined-Pragmas, predefined-pragmas, Predefined Pragmas)
8282
pragma(inline)
8383
---
8484
Sets the behavior to match the default behavior set by the compiler switch
85-
$(DDSUBLINK dmd-windows, switch-inline, $(TT -inline)).
85+
$(DDSUBLINK dmd, switch-inline, $(TT -inline)).
8686
)
8787
$(LI
8888
---
@@ -94,7 +94,7 @@ pragma(inline, false)
9494
---
9595
pragma(inline, true)
9696
---
97-
If a function cannot be inlined with the $(DDSUBLINK dmd-windows, switch-inline, $(TT -inline))
97+
If a function cannot be inlined with the $(DDSUBLINK dmd, switch-inline, $(TT -inline))
9898
switch, an error message is issued. This is expected to be improved in the future to causing
9999
functions to always be inlined regardless of compiler switch settings. Whether a compiler can
100100
inline a particular function or not is implementation defined.

spec/unittest.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ unittest
3030
following it.
3131
)
3232

33-
$(P A compiler switch, such as $(DDSUBLINK dmd-windows, switch-unittest, $(B -unittest))
33+
$(P A compiler switch, such as $(DDSUBLINK dmd, switch-unittest, $(B -unittest))
3434
for $(B dmd), will
3535
cause the unittest test code to be compiled and incorporated into
3636
the resulting executable. The unittest code gets run after

spec/version.dd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ else
109109
------
110110

111111
$(P The $(D version(unittest)) is satisfied if and only if the code is
112-
compiled with unit tests enabled (the $(DDSUBLINK dmd-windows, switch-unittest, $(TT -unittest)) option on $(TT dmd)).
112+
compiled with unit tests enabled (the $(DDSUBLINK dmd, switch-unittest, $(TT -unittest)) option on $(TT dmd)).
113113
)
114114

115115

@@ -301,13 +301,13 @@ $(H3 $(LEGACY_LNAME2 PredefinedVersions, predefined-versions, Predefined Version
301301
$(TROW $(ARGS $(D ELFv1)) , $(ARGS The Executable and Linkable Format v1))
302302
$(TROW $(ARGS $(D ELFv2)) , $(ARGS The Executable and Linkable Format v2))
303303
$(TROW $(ARGS $(D D_Coverage)) , $(ARGS $(DDLINK code_coverage, Code coverage analysis, Code coverage analysis) instrumentation
304-
(command line switch $(DDSUBLINK dmd-windows, switch-cov, $(TT -cov))) is being generated))
304+
(command line switch $(DDSUBLINK dmd, switch-cov, $(TT -cov))) is being generated))
305305
$(TROW $(ARGS $(D D_Ddoc)) , $(ARGS $(DDLINK spec/ddoc, Embedded Documentation, Ddoc) documentation
306-
(command line switch $(DDSUBLINK dmd-windows, switch-D, $(TT -D))) is being generated))
306+
(command line switch $(DDSUBLINK dmd, switch-D, $(TT -D))) is being generated))
307307
$(TROW $(ARGS $(D D_InlineAsm_X86)) , $(ARGS $(DDLINK spec/iasm, Inline Assembler, Inline assembler) for X86 is implemented))
308308
$(TROW $(ARGS $(D D_InlineAsm_X86_64)) , $(ARGS $(DDLINK spec/iasm, Inline Assembler, Inline assembler) for X86-64 is implemented))
309309
$(TROW $(ARGS $(D D_LP64)) , $(ARGS $(B Pointers) are 64 bits
310-
(command line switch $(DDSUBLINK dmd-windows, switch-m64, $(TT -m64))). (Do not confuse this with C's LP64 model)))
310+
(command line switch $(DDSUBLINK dmd, switch-m64, $(TT -m64))). (Do not confuse this with C's LP64 model)))
311311
$(TROW $(ARGS $(D D_X32)) , $(ARGS Pointers are 32 bits, but words are still 64 bits (x32 ABI) (This can be defined in parallel to $(D X86_64))))
312312
$(TROW $(ARGS $(D D_HardFloat)) , $(ARGS The target hardware has a floating point unit))
313313
$(TROW $(ARGS $(D D_SoftFloat)) , $(ARGS The target hardware does not have a floating point unit))
@@ -316,10 +316,10 @@ $(H3 $(LEGACY_LNAME2 PredefinedVersions, predefined-versions, Predefined Version
316316
$(TROW $(ARGS $(D D_SIMD)) , $(ARGS $(DDLINK spec/simd, simd, Vector extensions) (via $(D __simd)) are supported))
317317
$(TROW $(ARGS $(D D_Version2)) , $(ARGS This is a D version 2 compiler))
318318
$(TROW $(ARGS $(D D_NoBoundsChecks)) , $(ARGS Array bounds checks are disabled
319-
(command line switch $(DDSUBLINK dmd-windows, switch-boundscheck, $(TT -boundscheck=off)))))
319+
(command line switch $(DDSUBLINK dmd, switch-boundscheck, $(TT -boundscheck=off)))))
320320
$(TROW $(ARGS $(D D_ObjectiveC)) , $(ARGS The target supports interfacing with Objective-C))
321321
$(TROW $(ARGS $(D unittest)) , $(ARGS $(DDLINK spec/unittest, Unit Tests, Unit tests) are enabled
322-
(command line switch $(DDSUBLINK dmd-windows, switch-unittest, $(TT -unittest)))))
322+
(command line switch $(DDSUBLINK dmd, switch-unittest, $(TT -unittest)))))
323323
$(TROW $(ARGS $(D assert)) , $(ARGS Checks are being emitted for $(GLINK2 expression, AssertExpression)s))
324324
$(TROW $(ARGS $(D none)) , $(ARGS Never defined; used to just disable a section of code))
325325
$(TROW $(ARGS $(D all)) , $(ARGS Always defined; used as the opposite of $(D none)))

0 commit comments

Comments
 (0)