Building DMD

Bill Baxter dnewsgroup at billbaxter.com
Thu Dec 20 01:34:45 PST 2007


Lionello Lunesu wrote:
> Frank Benoit wrote:
>> DMDs frontend is open source, the backend is close.
>> Is there a way to compile a full functional DMD from the released 
>> sources?
>>
>> If the DMD release would contain a static lib for the closed part (like
>> libDmdBackend.a/dmdBackend.lib) it should be possible to build DMD
>> without making the backend open source.
>>
>> The advantage would be
>> - Users could learn how DMD works, not only by looking at the code.
>> - If a bug blocks developement, the user /can/ try to find a workaround.
>>   And then, the change /can/ be tested, before submitting a patch.
>>
>> Frank
> 
> I've managed to compile and link(!) GDC under cygwin once. It wasn't 
> easy, and I should have written it down :( but it does give you an open 
> D compiler in the end.

I tried once and eventually gave up. :-(

--bb



More information about the Digitalmars-d mailing list