Skip to content

Commit 2a904d1

Browse files
committed
Remove outdated info from dmd manual
1 parent e88e288 commit 2a904d1

File tree

1 file changed

+4
-115
lines changed

1 file changed

+4
-115
lines changed

dcompiler.dd

Lines changed: 4 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ $(H2 $(LNAME2 requirements, Requirements and Downloads))
2828
$(WINDOWS
2929
$(LI Windows operating system, Windows 7 or later, 32 or 64 bit)
3030

31-
$(LI Download
32-
<a href="http://ftp.digitalmars.com/dmc.zip" title="download dmc.zip">
33-
dmc.zip (C and C++ compiler)</a> for Win32
34-
(not required, but it complements dmd for Windows)
35-
)
36-
)
3731
$(LINUX
3832
$(LI 32 bit x86 and 64 bit x86-64 Linux operating system
3933
($(LINK2 https://github.com/ldc-developers/ldc, LDC)
@@ -69,16 +63,12 @@ performs these steps automatically.
6963
Unzip the files in the root directory.
7064
$(D dmd.zip) will create
7165
a $(D $(DMDDIR)) directory with all the files in it.
72-
$(D dmc.zip) will create
73-
a $(D \dm) directory with all the files in it.
74-
)
7566

7667
$(P A typical session might look like:)
7768

7869
$(CONSOLE
7970
C:\Documents and Settings\Your Name&gt;cd \
8071
C:\\&gt;unzip dmd.zip
81-
C:\\&gt;unzip dmc.zip
8272
)
8373
)
8474
$(LINUX
@@ -251,19 +241,6 @@ sudo cp $(DMDDIR)/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd
251241
))
252242
)
253243

254-
$(WINDOWS
255-
$(H2 $(H2 $(LNAME2 example, Example)))
256-
257-
$(P Run:)
258-
259-
$(CONSOLE
260-
$(DMDDIR)$(SEP)$(OS)$(SEP)bin$(SEP)$(SHELL) all.sh
261-
)
262-
263-
$(P in the $(D $(DMDDIR)$(SEP)samples$(SEP)d) directory for several small examples.)
264-
)
265-
266-
267244
$(H2 $(LNAME2 switches, Compiler Arguments and Switches))
268245

269246
$(DL
@@ -279,10 +256,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches))
279256
$(TH File Type)
280257
)
281258
$(TR
282-
$(TD $(I none))
283-
$(TD D source files)
284-
)
285-
$(TR
286259
$(TD $(B .c))
287260
$(TD C source files)
288261
)
@@ -315,10 +288,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches))
315288
$(TD Object code libraries to search)
316289
)
317290
$(WINDOWS
318-
$(TR
319-
$(TD $(B .exe))
320-
$(TD Output executable file)
321-
)
322291
$(TR
323292
$(TD $(B .def))
324293
$(TD $(LINK2 http://www.digitalmars.com/ctg/ctgDefFiles.html, module definition file))
@@ -346,7 +315,7 @@ $(WINDOWS
346315
)
347316

348317
$(WINDOWS
349-
$(P Empty switches, i.e. "", are ignored.)
318+
$(P Empty command line arguments, i.e. "", are ignored.)
350319
)
351320

352321
$(H2 $(LNAME2 files, Files))
@@ -365,55 +334,32 @@ $(H2 $(LNAME2 files, Files))
365334
$(DD Documentation)
366335
)
367336

368-
$(DT $(D $(DMDDIR)$(SEP)samples$(SEP)d$(SEP))
369-
$(DD Sample D programs)
370-
)
371337
$(WINDOWS
372338

373339
$(DT $(D $(DMDDIR)\windows\bin\ddemangle.exe)
374340
$(DD D symbol demangler)
375341
)
376342

377-
$(DT $(D $(DMDDIR)\windows\bin\dman.exe)
378-
$(DD D manual lookup tool)
379-
)
380-
381343
$(DT $(D $(DMDDIR)\windows\bin\dmd.exe)
382344
$(DD D compiler executable)
383345
)
384346

385-
$(DT $(D $(DMDDIR)\windows\bin\$(DUB))
347+
$(DT $(D $(DMDDIR)\windows\bin\dub.exe)
386348
$(DD D's package manager)
387349
)
388350

389-
$(DT $(D $(DMDDIR)\windows\bin\$(DUSTMITE))
351+
$(DT $(D $(DMDDIR)\windows\bin\dustmite.exe)
390352
$(DD D source code minimizer)
391353
)
392354

393-
$(DT $(D $(DMDDIR)\windows\bin\$(OPTLINK))
394-
$(DD OPTLINK)
395-
)
396-
397-
$(DT $(D $(DMDDIR)\windows\bin\$(LINK2 http://www.digitalmars.com/ctg/make.html, make.exe))
398-
$(DD Digitalmars Make)
399-
)
400-
401-
$(DT $(D $(DMDDIR)\windows\bin\replace.exe)
402-
$(DD Find/replace text in files)
403-
)
404-
405-
$(DT $(D $(DMDDIR)\windows\bin\$(RDMD))
355+
$(DT $(D $(DMDDIR)\windows\bin\rdmd.exe)
406356
$(DD D build tool for script-like D code execution)
407357
)
408358

409359
$(DT $(D $(SC_INI))
410360
$(DD Global compiler settings)
411361
)
412362

413-
$(DT $(D $(DMDDIR)\windows\bin\$(LINK2 http://www.digitalmars.com/ctg/shell.html, shell.exe))
414-
$(DD Simple command line shell)
415-
)
416-
417363
$(DT $(D $(DMDDIR)\windows\lib\$(LIB))
418364
$(DD D runtime library)
419365
)
@@ -423,10 +369,6 @@ $(H2 $(LNAME2 files, Files))
423369
$(DD D symbol demangler)
424370
)
425371

426-
$(DT $(D $(DMDDIR)/linux/bin/dman)
427-
$(DD D manual lookup tool)
428-
)
429-
430372
$(DT $(D $(DMDDIR)/linux/bin/dmd)
431373
$(DD D compiler executable)
432374
)
@@ -439,18 +381,10 @@ $(H2 $(LNAME2 files, Files))
439381
$(DD D's package manager)
440382
)
441383

442-
$(DT $(D $(DMDDIR)/linux/bin/$(DUMPOBJ))
443-
$(DD ELF file dumper)
444-
)
445-
446384
$(DT $(D $(DMDDIR)/linux/bin/$(DUSTMITE))
447385
$(DD D source code minimizer)
448386
)
449387

450-
$(DT $(D $(DMDDIR)/linux/bin/$(OBJ2ASM))
451-
$(DD ELF file disassembler)
452-
)
453-
454388
$(DT $(D $(DMDDIR)/linux/bin/$(RDMD))
455389
$(DD D build tool for script-like D code execution)
456390
)
@@ -464,10 +398,6 @@ $(H2 $(LNAME2 files, Files))
464398
$(DD D symbol demangler)
465399
)
466400

467-
$(DT $(D $(DMDDIR)/freebsd/bin/dman)
468-
$(DD D manual lookup tool)
469-
)
470-
471401
$(DT $(D $(DMDDIR)/freebsd/bin/dmd)
472402
$(DD D compiler executable)
473403
)
@@ -907,47 +837,6 @@ dmd -lib foo.d bar.d abc.$(OBJEXT) def.$(LIBEXT)
907837
up the modules.
908838
)
909839
)
910-
911-
$(H2 $(LEGACY_LNAME2 compiling_dmd, compiling-dmd, Compiling dmd))
912-
913-
$(P Complete source code is provided to build the compiler.
914-
Follow these steps:)
915-
916-
$(WINDOWS
917-
$(CONSOLE
918-
cd $(DMDDIR)\src\dmd
919-
make -f win32.mak
920-
)
921-
)
922-
$(UNIX
923-
$(CONSOLE
924-
cd ~/$(DMDDIR)/src/dmd
925-
make -f posix.mak
926-
)
927-
)
928-
929-
$(H2 $(LEGACY_LNAME2 compiling_phobos, compiling-phobos, Compiling Phobos))
930-
931-
$(P Complete source code is provided to build Phobos, the D runtime library.
932-
Follow these steps:)
933-
934-
935-
$(WINDOWS
936-
$(CONSOLE
937-
cd $(DMDDIR)\src\druntime
938-
make -f win32.mak
939-
cd ..\phobos
940-
make -f win32.mak
941-
)
942-
)
943-
$(UNIX
944-
$(CONSOLE
945-
cd ../phobos
946-
make -f posix.mak
947-
)
948-
)
949-
950-
951840
)
952841

953842
Macros:

0 commit comments

Comments
 (0)