www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DMD Modifications

reply white_man <nospam nospam.com> writes:
Does it possible to modify DMD and publish it in that form. Of course with full
information about authors. Does it legal? 
May 21 2009
parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
white_man wrote:
 Does it possible to modify DMD and publish it in that form. Of course with
full information about authors. Does it legal? 
It depends. If you ONLY modify the front-end (front-end files are identified as being licensed under GPL [1]), then you can distribute the modified front-end. However, if you modify the back end, you cannot redistribute those files. You also cannot distribute a compiled version. To be safe, it's probably best to just distribute any changes you make as a patch. -- Daniel [1] There's another license involved, but I forget what it's called.
May 21 2009
parent Spacen Jasset <spacenjasset yahoo.co.uk> writes:
Daniel Keep wrote:
 white_man wrote:
 Does it possible to modify DMD and publish it in that form. Of course with
full information about authors. Does it legal? 
It depends. If you ONLY modify the front-end (front-end files are identified as being licensed under GPL [1]), then you can distribute the modified front-end. However, if you modify the back end, you cannot redistribute those files. You also cannot distribute a compiled version. To be safe, it's probably best to just distribute any changes you make as a patch. -- Daniel [1] There's another license involved, but I forget what it's called.
Presumably you can modify and distribute LDC (under the GPL terms if it is GPL. I forget)? LDC = Front End + LLVM
May 21 2009