Building DMD

Lionello Lunesu lio at lunesu.remove.com
Thu Dec 20 01:32:38 PST 2007


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.

L.



More information about the Digitalmars-d mailing list