[cfe-dev] license question about source link to clang

Chris Lattner clattner at apple.com
Thu Jan 20 17:44:06 PST 2011


On Jan 20, 2011, at 5:22 PM, asmwarrior wrote:

> I have found the FAQ
> see:http://www.gnu.org/licenses/gpl-faq.html#WhatIsCompatible
> 
> but after reading for several hours, I still does no get the clean answer.
> I know that LLVM/UIUC's license is compatible with GPL, but if my code was statically link to libclang, can I publish the code under GPLV3 ?
> 
> This is the main point I still can't find under the FAQ.

My understanding is that if you add code to libclang and link that into a GPL app, that the entire unit is GPL including the code you add.

-Chris



More information about the cfe-dev mailing list