Can I distribute the DMD compiler in an app of mine?

Walter Bright newshound2 at digitalmars.com
Mon Mar 28 01:31:42 UTC 2022


On 3/27/2022 4:40 PM, max haughton wrote:
> On Sunday, 27 March 2022 at 23:25:34 UTC, Fruitful Approach wrote:
>> Hello!
>>
>> I believe the project will start out open-source because I will be using Qt 
>> Creator, KaTeX, Markdown for the frontend.  And Qt's commercial license is too 
>> pricey for now.
>>
>> The kernel though of my app will be a library written in D, for which (at a 
>> low level) the user can use the library in D itself (using D as a "host 
>> language"), or alternatively type in some specialized English, which will then 
>> be translated into equivalent D statements that use the library.
>>
>> Anyway, obviously I need to include the DMD compiler itself so that the users 
>> get a nice installation experience.  Do we have permission to do such a thing?
>>
>> If not, is there another D compiler that allows this?
> 
> It's boost licensed.

DMD is Boost licensed meaning yes, you can include it.

For GDC, it's GPL licensed. LDC is Apache licensed. I'm not sure how that would 
apply to your app's license.


More information about the Digitalmars-d mailing list