-
-
Notifications
You must be signed in to change notification settings - Fork 379
Remove outdated info from dmd manual #4194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,6 @@ $(H2 $(LNAME2 requirements, Requirements and Downloads)) | |
$(WINDOWS | ||
$(LI Windows operating system, Windows 7 or later, 32 or 64 bit) | ||
|
||
$(LI Download | ||
<a href="http://ftp.digitalmars.com/dmc.zip" title="download dmc.zip"> | ||
dmc.zip (C and C++ compiler)</a> for Win32 | ||
(not required, but it complements dmd for Windows) | ||
) | ||
) | ||
$(LINUX | ||
$(LI 32 bit x86 and 64 bit x86-64 Linux operating system | ||
($(LINK2 https://github.com/ldc-developers/ldc, LDC) | ||
|
@@ -69,16 +63,12 @@ performs these steps automatically. | |
Unzip the files in the root directory. | ||
$(D dmd.zip) will create | ||
a $(D $(DMDDIR)) directory with all the files in it. | ||
$(D dmc.zip) will create | ||
a $(D \dm) directory with all the files in it. | ||
) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
|
||
$(P A typical session might look like:) | ||
|
||
$(CONSOLE | ||
C:\Documents and Settings\Your Name>cd \ | ||
C:\\>unzip dmd.zip | ||
C:\\>unzip dmc.zip | ||
) | ||
) | ||
$(LINUX | ||
|
@@ -251,19 +241,6 @@ sudo cp $(DMDDIR)/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd | |
)) | ||
) | ||
|
||
$(WINDOWS | ||
$(H2 $(H2 $(LNAME2 example, Example))) | ||
|
||
$(P Run:) | ||
|
||
$(CONSOLE | ||
$(DMDDIR)$(SEP)$(OS)$(SEP)bin$(SEP)$(SHELL) all.sh | ||
) | ||
|
||
$(P in the $(D $(DMDDIR)$(SEP)samples$(SEP)d) directory for several small examples.) | ||
) | ||
|
||
|
||
$(H2 $(LNAME2 switches, Compiler Arguments and Switches)) | ||
|
||
$(DL | ||
|
@@ -279,10 +256,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches)) | |
$(TH File Type) | ||
) | ||
$(TR | ||
$(TD $(I none)) | ||
$(TD D source files) | ||
) | ||
$(TR | ||
$(TD $(B .c)) | ||
$(TD C source files) | ||
) | ||
|
@@ -311,10 +284,6 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches)) | |
$(TD Object code libraries to search) | ||
) | ||
$(WINDOWS | ||
$(TR | ||
$(TD $(B .exe)) | ||
$(TD Output executable file) | ||
) | ||
$(TR | ||
$(TD $(B .def)) | ||
$(TD $(LINK2 http://www.digitalmars.com/ctg/ctgDefFiles.html, module definition file)) | ||
|
@@ -342,7 +311,7 @@ $(WINDOWS | |
) | ||
|
||
$(WINDOWS | ||
$(P Empty switches, i.e. "", are ignored.) | ||
$(P Empty command line arguments, i.e. "", are ignored.) | ||
) | ||
|
||
$(H2 $(LNAME2 files, Files)) | ||
|
@@ -361,55 +330,32 @@ $(H2 $(LNAME2 files, Files)) | |
$(DD Documentation) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)$(SEP)samples$(SEP)d$(SEP)) | ||
$(DD Sample D programs) | ||
) | ||
$(WINDOWS | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\ddemangle.exe) | ||
$(DD D symbol demangler) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\dman.exe) | ||
$(DD D manual lookup tool) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\dmd.exe) | ||
$(DD D compiler executable) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(DUB)) | ||
$(DT $(D $(DMDDIR)\windows\bin\dub.exe) | ||
$(DD D's package manager) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(DUSTMITE)) | ||
$(DT $(D $(DMDDIR)\windows\bin\dustmite.exe) | ||
$(DD D source code minimizer) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(OPTLINK)) | ||
$(DD OPTLINK) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(LINK2 http://www.digitalmars.com/ctg/make.html, make.exe)) | ||
$(DD Digitalmars Make) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\replace.exe) | ||
$(DD Find/replace text in files) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(RDMD)) | ||
$(DT $(D $(DMDDIR)\windows\bin\rdmd.exe) | ||
$(DD D build tool for script-like D code execution) | ||
) | ||
|
||
$(DT $(D $(SC_INI)) | ||
$(DD Global compiler settings) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\bin\$(LINK2 http://www.digitalmars.com/ctg/shell.html, shell.exe)) | ||
$(DD Simple command line shell) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)\windows\lib\$(LIB)) | ||
$(DD D runtime library) | ||
) | ||
|
@@ -419,10 +365,6 @@ $(H2 $(LNAME2 files, Files)) | |
$(DD D symbol demangler) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/dman) | ||
$(DD D manual lookup tool) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/dmd) | ||
$(DD D compiler executable) | ||
) | ||
|
@@ -435,18 +377,10 @@ $(H2 $(LNAME2 files, Files)) | |
$(DD D's package manager) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/$(DUMPOBJ)) | ||
$(DD ELF file dumper) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/$(DUSTMITE)) | ||
$(DD D source code minimizer) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/$(OBJ2ASM)) | ||
$(DD ELF file disassembler) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/linux/bin/$(RDMD)) | ||
$(DD D build tool for script-like D code execution) | ||
) | ||
|
@@ -460,10 +394,6 @@ $(H2 $(LNAME2 files, Files)) | |
$(DD D symbol demangler) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/freebsd/bin/dman) | ||
$(DD D manual lookup tool) | ||
) | ||
|
||
$(DT $(D $(DMDDIR)/freebsd/bin/dmd) | ||
$(DD D compiler executable) | ||
) | ||
|
@@ -903,47 +833,6 @@ dmd -lib foo.d bar.d abc.$(OBJEXT) def.$(LIBEXT) | |
up the modules. | ||
) | ||
) | ||
|
||
$(H2 $(LEGACY_LNAME2 compiling_dmd, compiling-dmd, Compiling dmd)) | ||
|
||
$(P Complete source code is provided to build the compiler. | ||
Follow these steps:) | ||
Comment on lines
-907
to
-910
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn’t we keep at least some of that? Maybe replace it with a link to a Windows build of GNU Make (as in the Makefile itself) and note that building is as easy as running There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
$(WINDOWS | ||
$(CONSOLE | ||
cd $(DMDDIR)\src\dmd | ||
make -f win32.mak | ||
) | ||
) | ||
$(UNIX | ||
$(CONSOLE | ||
cd ~/$(DMDDIR)/src/dmd | ||
make -f posix.mak | ||
) | ||
) | ||
|
||
$(H2 $(LEGACY_LNAME2 compiling_phobos, compiling-phobos, Compiling Phobos)) | ||
|
||
$(P Complete source code is provided to build Phobos, the D runtime library. | ||
Follow these steps:) | ||
|
||
|
||
$(WINDOWS | ||
$(CONSOLE | ||
cd $(DMDDIR)\src\druntime | ||
make -f win32.mak | ||
cd ..\phobos | ||
make -f win32.mak | ||
) | ||
) | ||
$(UNIX | ||
$(CONSOLE | ||
cd ../phobos | ||
make -f posix.mak | ||
) | ||
) | ||
|
||
|
||
) | ||
|
||
Macros: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this last one you want to keep