Re:Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
by nly on Tuesday August 13, 2013 @10:46PM
(#6209687)
Nonsense. Just putting GCC source code in to the BSD repository wouldn't magically spread the requirement that the entire project become GPL any more than keeping a copy on my hard drive requires I give the FSF the complete contents of my /home directory. What matters is the dependency/linkage.
The GCC 'runtime library exception' firewalls all 'target code' from the GPLv3, and even allows proprietary preprocessors, linkers and assemblers (but nothing that would involve modifying GCC to split what it does in to more granular stages)
Re:Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
by foobarbazqux on Tuesday August 13, 2013 @11:12PM
(#6209753)
In particular, Apple shipped GCC with Darwin.
Re:Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
by TylerE on Tuesday August 13, 2013 @10:03PM
(#6209580)
If you're going to be a pedant, get it right.
You have to license any code that links with GPL code under the GPL. This does not prevent you from dual-licensing your own portion of the code base, or shipping non-GPL, non-linked code as part of the same product (Although in the case of things like DLL plugins it gets a bit hazy)
Re:Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
by rickjames28 on Tuesday August 13, 2013 @11:42PM
(#6209820)
You have to license any code that links with GPL code under the GPL. This does not prevent you from dual-licensing your own portion of the code base, or shipping non-GPL, non-linked code as part of the same product (Although in the case of things like DLL plugins it gets a bit hazy)
Actually, that's a common, but wrong interpretation. The whole work becomes GPL, but the code that links to GPL code doesn't have to be GPL.
Re:Why is FreeBSD deprecating GCC in favor of Clang/LLVM?
by foobarbazqux on Tuesday August 13, 2013 @11:46PM
(#6209838)
It has to be "GPL-compatible" though, which means whoever you give it to can convert it to the GPL by adding the extra conditions of the GPL to it.
Fixed:
If you use ANY GPL code in your product you have to provide the source.(There are of course exeptions eg LGPL)
Also it isn't simply derivative work that that can be forced to re-license under the GPLv3. If FreeBSD had elected to adopt a GPLv3 compiler and distribute the source(as they do with the compiler) then the FreeBSD kernel itself would become subject to it. In fact, it isn't just gcc which has this restriction. Any GPL v3 code isn't allowed in base.
Further reading:
http://www.freebsdfoundation.org/press/2007Aug-newsletter.sh...