digitalmars.D - Building DMD from sources
- Daniel Ribeiro Maciel (4/4) Dec 04 2009 Hello!
- Denis Koroskin (12/17) Dec 04 2009 Digital Mars C++ compiler is free to use and is available for download o...
- Daniel Ribeiro Maciel (6/30) Dec 04 2009 Thank you for answering so fast.
- Denis Koroskin (7/14) Dec 04 2009 Where did you get that information from? coff2omf is free, download it
- Daniel Ribeiro Maciel (8/28) Dec 04 2009 Well, I tried to download it from:
- Denis Koroskin (5/13) Dec 04 2009 Why do you need all these tools for? What problem are you facing?
- Daniel Ribeiro Maciel (3/23) Dec 04 2009 I just wanted coff2omf.
- BCS (3/38) Dec 04 2009 try this link:
- BCS (2/41) Dec 04 2009
- Walter Bright (4/10) Dec 04 2009 It's only $15!
- Alexander Suhoverhov (5/10) Dec 04 2009 Which OS are you trying to build it on? gcc compiles the linux
- Daniel Ribeiro Maciel (2/16) Dec 04 2009
- Walter Bright (5/6) Dec 04 2009 You will need DMC++. It can be built with the free download version of
- Daniel Ribeiro Maciel (2/9) Dec 04 2009
Hello! How do I build DMD from sources? Do I have to buy and use Digital Mars C++ compiler only? Best Regards, Daniel
Dec 04 2009
On Fri, 04 Dec 2009 20:34:10 +0300, Daniel Ribeiro Maciel <daniel.maciel 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, DanielDigital 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.
Dec 04 2009
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.maciel 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, DanielDigital 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.
Dec 04 2009
On Fri, 04 Dec 2009 20:43:01 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote: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, DanielWhere did you get that information from? coff2omf is free, download it from ftp://digitalmars.com In my experience, it's not that easy to get you VS compiled binary working with DMD (due to object format incompatibility). In most cases it's easier to re-compile your library with DMC compiler, if sources are available.
Dec 04 2009
Well, I tried to download it from: http://www.digitalmars.com/download/freecompiler.html But the link to the Extended Utilities Package is a link to DM Shop. Maybe we should document this stuff on DMD home page, perhaps include them on FAQ. Can I build DMD using mingw? Or link to mingw libraries? Best Regards, Daniel Denis Koroskin Wrote:On Fri, 04 Dec 2009 20:43:01 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote: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, DanielWhere did you get that information from? coff2omf is free, download it from ftp://digitalmars.com In my experience, it's not that easy to get you VS compiled binary working with DMD (due to object format incompatibility). In most cases it's easier to re-compile your library with DMC compiler, if sources are available.
Dec 04 2009
On Fri, 04 Dec 2009 21:08:39 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote:Well, I tried to download it from: http://www.digitalmars.com/download/freecompiler.html But the link to the Extended Utilities Package is a link to DM Shop. Maybe we should document this stuff on DMD home page, perhaps include them on FAQ. Can I build DMD using mingw? Or link to mingw libraries? Best Regards, DanielWhy do you need all these tools for? What problem are you facing? Compiling DMD from source is as simple as I described. Are you getting any errors?
Dec 04 2009
I just wanted coff2omf. I did not try to build dmd usind dmc yet. I was just wondering whether it could be built using mingw. Denis Koroskin Wrote:On Fri, 04 Dec 2009 21:08:39 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote:Well, I tried to download it from: http://www.digitalmars.com/download/freecompiler.html But the link to the Extended Utilities Package is a link to DM Shop. Maybe we should document this stuff on DMD home page, perhaps include them on FAQ. Can I build DMD using mingw? Or link to mingw libraries? Best Regards, DanielWhy do you need all these tools for? What problem are you facing? Compiling DMD from source is as simple as I described. Are you getting any errors?
Dec 04 2009
Hello Daniel,Well, I tried to download it from: http://www.digitalmars.com/download/freecompiler.htmltry this link: http://www.digitalmars.com/download/dmcpp.htmlBut the link to the Extended Utilities Package is a link to DM Shop. Maybe we should document this stuff on DMD home page, perhaps include them on FAQ. Can I build DMD using mingw? Or link to mingw libraries? Best Regards, Daniel Denis Koroskin Wrote:On Fri, 04 Dec 2009 20:43:01 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote: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, DanielWhere did you get that information from? coff2omf is free, download it from ftp://digitalmars.com In my experience, it's not that easy to get you VS compiled binary working with DMD (due to object format incompatibility). In most cases it's easier to re-compile your library with DMC compiler, if sources are available.
Dec 04 2009
Hello BCS,Hello Daniel,Oops, that's to DMC. got the threads mixed up.Well, I tried to download it from: http://www.digitalmars.com/download/freecompiler.htmltry this link: http://www.digitalmars.com/download/dmcpp.htmlBut the link to the Extended Utilities Package is a link to DM Shop. Maybe we should document this stuff on DMD home page, perhaps include them on FAQ. Can I build DMD using mingw? Or link to mingw libraries? Best Regards, Daniel Denis Koroskin Wrote:On Fri, 04 Dec 2009 20:43:01 +0300, Daniel Ribeiro Maciel <daniel.maciel gmail.com> wrote: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, DanielWhere did you get that information from? coff2omf is free, download it from ftp://digitalmars.com In my experience, it's not that easy to get you VS compiled binary working with DMD (due to object format incompatibility). In most cases it's easier to re-compile your library with DMC compiler, if sources are available.
Dec 04 2009
Daniel Ribeiro Maciel wrote: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?It's only $15! It's part of the Extended Utility Package: http://www.digitalmars.com/shop.html
Dec 04 2009
Daniel Ribeiro Maciel <daniel.maciel gmail.com> writes:Hello! How do I build DMD from sources? Do I have to buy and use Digital Mars C++ compiler only? Best Regards, DanielWhich OS are you trying to build it on? gcc compiles the linux version with the linux.mak makefile. -- Best regards, Alexander Suhoverhov
Dec 04 2009
I'm trying to build it on windows. Alexander Suhoverhov Wrote:Daniel Ribeiro Maciel <daniel.maciel gmail.com> writes:Hello! How do I build DMD from sources? Do I have to buy and use Digital Mars C++ compiler only? Best Regards, DanielWhich OS are you trying to build it on? gcc compiles the linux version with the linux.mak makefile. -- Best regards, Alexander Suhoverhov
Dec 04 2009
Daniel Ribeiro Maciel wrote:I'm trying to build it on windows.You will need DMC++. It can be built with the free download version of DMC++, but if you need the coff2omf, that needs to be purchased. It's part of the complete C/C++ development system, or comes with the Extended Utility Package.
Dec 04 2009
Thanks a lot ppl. I got to build it on Linux. Gonna try to build on Windows home. Walter Bright Wrote:Daniel Ribeiro Maciel wrote:I'm trying to build it on windows.You will need DMC++. It can be built with the free download version of DMC++, but if you need the coff2omf, that needs to be purchased. It's part of the complete C/C++ development system, or comes with the Extended Utility Package.
Dec 04 2009