Thank you for answering so fast. I'll try that. One more thing: I noticed I need to convert VS libraries from COFF format to OMF format so I can link them with my D software. I also noticed that coff2omf tool from Digital Mars is not free.
Do you know any free tools that do that job? Best regards, Daniel Denis Koroskin Wrote: > On Fri, 04 Dec 2009 20:34:10 +0300, Daniel Ribeiro Maciel > <daniel.mac...@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.