Building DMD from sources
Denis Koroskin
2korden at gmail.com
Fri Dec 4 09:38:08 PST 2009
On Fri, 04 Dec 2009 20:34:10 +0300, Daniel Ribeiro Maciel
<daniel.maciel at gmail.com> wrote:
> Hello!
>
> How do I build DMD from sources? Do I have to buy and use Digital Mars
> C++ compiler only?
>
> Best Regards,
> Daniel
Digital Mars C++ compiler is free to use and is available for download on
the same page with Digital Mars D compiler:
http://www.digitalmars.com/d/download.html
Just download the dmc.zip package, install it and update you PATH
environment variable to include path to dmc.exe:
(For Windows)
set path=c:\dm\bin;%PATH%
cd c:\dmd\src\dmd
make -fwin32.mak
Under Linux, you should also be able to build DMD with GCC.
More information about the Digitalmars-d
mailing list