Skip to content

Commit 638d642

Browse files
authored
Merge pull request #4194 from dkorpel/dmd-manual
Remove outdated info from dmd manual
2 parents e88e288 + 060d825 commit 638d642

File tree

1 file changed

+5
-114
lines changed

1 file changed

+5
-114
lines changed

dcompiler.dd

Lines changed: 5 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@ $(H2 $(LNAME2 requirements, Requirements and Downloads))
2727

2828
$(WINDOWS
2929
$(LI Windows operating system, Windows 7 or later, 32 or 64 bit)
30-
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-
)
3630
)
31+
3732
$(LINUX
3833
$(LI 32 bit x86 and 64 bit x86-64 Linux operating system
3934
($(LINK2 https://github.com/ldc-developers/ldc, LDC)
@@ -69,16 +64,13 @@ performs these steps automatically.
6964
Unzip the files in the root directory.
7065
$(D dmd.zip) will create
7166
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.
7467
)
7568

7669
$(P A typical session might look like:)
7770

7871
$(CONSOLE
7972
C:\Documents and Settings\Your Name&gt;cd \
8073
C:\\&gt;unzip dmd.zip
81-
C:\\&gt;unzip dmc.zip
8274
)
8375
)
8476
$(LINUX
@@ -251,19 +243,6 @@ sudo cp $(DMDDIR)/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd
251243
))
252244
)
253245

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-
267246
$(H2 $(LNAME2 switches, Compiler Arguments and Switches))
268247

269248
$(DL
@@ -279,10 +258,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches))
279258
$(TH File Type)
280259
)
281260
$(TR
282-
$(TD $(I none))
283-
$(TD D source files)
284-
)
285-
$(TR
286261
$(TD $(B .c))
287262
$(TD C source files)
288263
)
@@ -315,10 +290,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches))
315290
$(TD Object code libraries to search)
316291
)
317292
$(WINDOWS
318-
$(TR
319-
$(TD $(B .exe))
320-
$(TD Output executable file)
321-
)
322293
$(TR
323294
$(TD $(B .def))
324295
$(TD $(LINK2 http://www.digitalmars.com/ctg/ctgDefFiles.html, module definition file))
@@ -346,7 +317,7 @@ $(WINDOWS
346317
)
347318

348319
$(WINDOWS
349-
$(P Empty switches, i.e. "", are ignored.)
320+
$(P Empty command line arguments, i.e. "", are ignored.)
350321
)
351322

352323
$(H2 $(LNAME2 files, Files))
@@ -365,55 +336,32 @@ $(H2 $(LNAME2 files, Files))
365336
$(DD Documentation)
366337
)
367338

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

373341
$(DT $(D $(DMDDIR)\windows\bin\ddemangle.exe)
374342
$(DD D symbol demangler)
375343
)
376344

377-
$(DT $(D $(DMDDIR)\windows\bin\dman.exe)
378-
$(DD D manual lookup tool)
379-
)
380-
381345
$(DT $(D $(DMDDIR)\windows\bin\dmd.exe)
382346
$(DD D compiler executable)
383347
)
384348

385-
$(DT $(D $(DMDDIR)\windows\bin\$(DUB))
349+
$(DT $(D $(DMDDIR)\windows\bin\dub.exe)
386350
$(DD D's package manager)
387351
)
388352

389-
$(DT $(D $(DMDDIR)\windows\bin\$(DUSTMITE))
353+
$(DT $(D $(DMDDIR)\windows\bin\dustmite.exe)
390354
$(DD D source code minimizer)
391355
)
392356

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))
357+
$(DT $(D $(DMDDIR)\windows\bin\rdmd.exe)
406358
$(DD D build tool for script-like D code execution)
407359
)
408360

409361
$(DT $(D $(SC_INI))
410362
$(DD Global compiler settings)
411363
)
412364

413-
$(DT $(D $(DMDDIR)\windows\bin\$(LINK2 http://www.digitalmars.com/ctg/shell.html, shell.exe))
414-
$(DD Simple command line shell)
415-
)
416-
417365
$(DT $(D $(DMDDIR)\windows\lib\$(LIB))
418366
$(DD D runtime library)
419367
)
@@ -423,10 +371,6 @@ $(H2 $(LNAME2 files, Files))
423371
$(DD D symbol demangler)
424372
)
425373

426-
$(DT $(D $(DMDDIR)/linux/bin/dman)
427-
$(DD D manual lookup tool)
428-
)
429-
430374
$(DT $(D $(DMDDIR)/linux/bin/dmd)
431375
$(DD D compiler executable)
432376
)
@@ -439,18 +383,10 @@ $(H2 $(LNAME2 files, Files))
439383
$(DD D's package manager)
440384
)
441385

442-
$(DT $(D $(DMDDIR)/linux/bin/$(DUMPOBJ))
443-
$(DD ELF file dumper)
444-
)
445-
446386
$(DT $(D $(DMDDIR)/linux/bin/$(DUSTMITE))
447387
$(DD D source code minimizer)
448388
)
449389

450-
$(DT $(D $(DMDDIR)/linux/bin/$(OBJ2ASM))
451-
$(DD ELF file disassembler)
452-
)
453-
454390
$(DT $(D $(DMDDIR)/linux/bin/$(RDMD))
455391
$(DD D build tool for script-like D code execution)
456392
)
@@ -464,10 +400,6 @@ $(H2 $(LNAME2 files, Files))
464400
$(DD D symbol demangler)
465401
)
466402

467-
$(DT $(D $(DMDDIR)/freebsd/bin/dman)
468-
$(DD D manual lookup tool)
469-
)
470-
471403
$(DT $(D $(DMDDIR)/freebsd/bin/dmd)
472404
$(DD D compiler executable)
473405
)
@@ -907,47 +839,6 @@ dmd -lib foo.d bar.d abc.$(OBJEXT) def.$(LIBEXT)
907839
up the modules.
908840
)
909841
)
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-
951842
)
952843

953844
Macros:

0 commit comments

Comments
 (0)