News for hackers. Stuff that matters.
Re:Mongoose OS – An Open Source Operating System for the Int... by jpfr on Tuesday August 08, 2017 @10:38AM (#14958158)
GPL does not allow static binaries from both GPLed code and commercial code.

A workaround is a plugin mechanism with dynamic loading of .dll or .so libraries. But that won't fly on a microcontroller.

Re:Mongoose OS – An Open Source Operating System for the Int... by greenhouse_gas on Tuesday August 08, 2017 @12:28PM (#14959492)
.dll won't help with GPL, only with LGPL (IANAL)
Re:Mongoose OS – An Open Source Operating System for the Int... by yebyen on Tuesday August 08, 2017 @01:13PM (#14959972)
I think you have it backwards, if I am interpreting your very brief statement fully correctly...

If you are building a library and you want it to be open source but also usable by products that are not open source, you can use LGPL. If you are building a proprietary library and you want to keep it proprietary, but link it into a GPL application, I think there is nothing is stopping you from doing that.

You still have an open-source application, it just won't work without the proprietary library.

(This sounds like it should be against the letter of the GPL, but as a thought experiment, pretend someone else wrote the library. Say, Nvidia, and you are Linus. You have no control over how their library gets licensed, and there is no person or body which can stop you from releasing your own code as GPL, even if it may have branches that depend on proprietary code.)

Doing OSS this way is most certainly against the spirit of the GPL, but I think it is within the letter.

Re:Mongoose OS – An Open Source Operating System for the Int... by mbel on Tuesday August 08, 2017 @01:50PM (#14960465)
You read the previous statement backwards. OP meant: dynamic linking allows you to use LGPL libraries with proprietary applications; to use GPL libraries in your application you have to make your application free even if you are linking dynamically.
Re:Mongoose OS – An Open Source Operating System for the Int... by yebyen on Tuesday August 08, 2017 @02:13PM (#14960776)
Yes, but neither one prevents you from linking proprietary libraries into your OSS application.

> .dll won't help with GPL, only with LGPL (IANAL)

Was pretty much totally ambiguous about what exactly was meant.

Re:Mongoose OS – An Open Source Operating System for the Int... by yebyen on Wednesday August 09, 2017 @10:21AM (#14969141)
Am I wrong?
Re:Mongoose OS – An Open Source Operating System for the Int... by pantalaimon on Tuesday August 08, 2017 @04:21PM (#14962121)
Commercial code can be GPL.