Hacker News new | ask | show | jobs
by jadavies 1958 days ago
> You cannot sell GPL licensed software

Wrong

2 comments

> If GPL licensed source code is required for a program to compile, the program must also be under the GPL.

This is obviously wrong too, or else everything compiled by gcc would need to be licensed as GPL. If you distribute a GPL licensed program then the recipient must be able to build the equivalent program from source (e.g. you can’t rely on an internal toolchain that doesn’t have a publicly available alternative) but that isn’t what the author is saying.

GCC has a runtime library exception[0] which permits compilation of proprietary software.

[0]: https://www.gnu.org/licenses/gcc-exception-3.1

This is only an exception for libraries.
No, this is correct. You cannot sell it, because you do not own it. What you can do is distribute it, which is another matter. The author is right.