Building D compiler in MSVC IDE

Tomas Lindquist Olsen tomas.l.olsen at gmail.com
Sat Mar 28 18:24:14 PDT 2009


On Sat, Mar 28, 2009 at 11:49 PM, Robert Fraser
<fraserofthenight at gmail.com> wrote:
> x-code wrote:
>>
>> I want to build last D 2.0 compiler in Microsoft Visual Studio IDE.
>> Prompt me please, what create and adjust *.vcproj project in MSVC
>> 2003/2005/2008 (or *.dsp for VC6) for assembly of the D compiler in
>> Visual Studio?
>> I tried this do, but faced that that some files
>> &#1085;&#1077;&#1093;&#1074;&#1072;&#1090;&#1072;&#1077;&#1090; (even after
>> I have found in sources subprojects which generate the part lacking
>> sources).
>> Anyone created the similar projects? If yes, that where possible
>> download working project?
>
> I spent ~15 hours trying to get LDC to build with it, and eventually
> basically gave up. It'll build (with some modifications), but there are
> quite a few issues that prevent it from working right in many cases.
>

At the moment, LDC on Windows is pretty much a waste of time, since
LLVM only supports Dwarf debug information and exception handling in
the backends. This *will* change eventually, but none the less, this
has been the situation for more than two years. There seems to be some
GSOC proposals that will help if accepted, but anyway ...

Btw.., you spent ~15hrs getting LDC to compile with MSVC? O.o
What changes did you have to make? Where?

Please send us your patches :)



More information about the Digitalmars-d mailing list