views:

57

answers:

2

Can I use OSS software binaries (including gcc/mingw,perl,python,cygwin?) to develop our own (commerical, close-source) program, no open-source code will be built in or even used.

For example, can I use perl to build a simple auto-incremental-compile daemon, and not distribute the code back to the public in any form.

It seems impossible to distribute any of my code (binary-only or open-source) written in work time or on work laptop, given the complexity of license contracts.

I did not read all the related OSS agreements, and have always gotten screwed by legal agreements. It seems the Perl license allows greater freedom than other licenses.

+5  A: 

Well, obviously this depends on the license. But the GPL (which covers most of the software you mention) only restricts software which links with GPLed code (or otherwise cannot substantively function without it).

So no, there is no problem using most OSS code to develop a proprietary program.

However, the best advice you'll get all day is to READ THE LICENSES AND UNDERSTAND THEM! And then, if you're still concerned, consult a lawyer.

Borealid
well..the terms in agreements are often hard to understand, but i will try.. thanks
jokester
A: 

Some Open Source Licenses are viral, i.e. they have a clause that says you can use the software however you like - but anything you develop has to also be licensed under similar terms. If you used something under a license with such a clause you would have to make your code available under the same, or similar terms.

This is just one example amongst many that means you have to read the license - each open source license is subtly different. If you have trouble understanding these licenses then get professional advice.

Sohnee
thanks.may be i should jump to some open-source friendly company..
jokester
Actually, the GPL is viral, but the "infection" is only passed to software which becomes part of the same unit as the GPLed code. Software developed with GPLed tools is not "infected", unless it is then packaged with GPLed software.
Borealid
To amplify what Borealid said: you *can* write and build commercial software using the GNU tool chain. But with a few exceptions (e.g. flex and bison) you cannot statically link to *any* GNU code and can only rely on dynamically linked GNU code if it is covered by the LGPL.
dmckee
@Borealid - I'm not really talking about a specific license, as none was mentioned. However, in respect of GPL specifically, if you "incorporate", "connect" or "aggregate" with GPL-licensed code, it is likely that you have a "derivative work". Also, there is a note on GPL that specifically states "The GNU General Public License does not permit incorporating your program into proprietary programs", which is very pertinent to this question.
Sohnee