Difference between revisions of "Installing DMD"

From D Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Windows ==
 
== Windows ==
 
=== Standard procedure ===
 
=== Standard procedure ===
Easiest and fastest way to get your DMD running on MS Windows is to use [http://ftp.digitalmars.com/dinstaller.exe DInstaller]
+
Easiest and fastest way to get your DMD running on MS Windows is to use the [http://dlang.org/download.html provided installers].
You can watch [http://www.youtube.com/watch?v=kSugYSC5hrE instructional video] how to do that.
 
  
 
If you'll encounter any problems with missing libraries or non-existing executables, take a look on [http://digitalmars.com/techtips/command_prompt.html this].
 
If you'll encounter any problems with missing libraries or non-existing executables, take a look on [http://digitalmars.com/techtips/command_prompt.html this].

Revision as of 18:11, 22 May 2015

Windows

Standard procedure

Easiest and fastest way to get your DMD running on MS Windows is to use the provided installers.

If you'll encounter any problems with missing libraries or non-existing executables, take a look on this.

Alternative ways

Installing DMD on 64-bit Windows 7 (COFF-compatible)

Debian Linux compatible

If you have distribution that's based on APT package manager, you might use APT Repository.

Arch Linux

There is a package in community repository for 32 bit dmd and | 64 bit dmd.

Gentoo Linux

You can use the ebuilds from the dlang overlay like this:

emerge app-portage/layman
layman -f -a dlang
emerge dev-lang/dmd

Note that if you are using Hardened Gentoo, you may need to use a non-hardened linker or specify PIC=1 when compiling Phobos.

Other POSIX compliant

You might try looking for precompiled package for your distribution on http://dlang.org/download.html

If it's isn't there you might try building from source.