From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4944 invoked by alias); 22 Aug 2012 14:35:41 -0000 Received: (qmail 4848 invoked by uid 22791); 22 Aug 2012 14:35:39 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from asav4.lyse.net (HELO asav4.lyse.net) (81.167.36.150) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Aug 2012 14:35:12 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by asav4.lyse.net (Postfix) with ESMTP id 977356C1A4; Wed, 22 Aug 2012 16:35:10 +0200 (CEST) Received: from jupiter.westcontrol.no (unknown [79.161.10.130]) by asav4.lyse.net (Postfix) with ESMTP id 1E0346C199; Wed, 22 Aug 2012 16:35:09 +0200 (CEST) Received: from [192.168.0.60] (helo=[192.168.0.60]) by jupiter.westcontrol.no with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1T4C1V-0006Vt-Qn; Wed, 22 Aug 2012 16:35:09 +0200 Message-ID: <5034EE0D.8030103@westcontrol.com> Date: Wed, 22 Aug 2012 15:21:00 -0000 From: David Brown User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Byron Blue CC: gcc-help@gcc.gnu.org Subject: Re: Simple question References: <7D3F997945FA4AEAA34010AAEFFD4335@Byron> In-Reply-To: <7D3F997945FA4AEAA34010AAEFFD4335@Byron> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg00182.txt.bz2 On 22/08/2012 15:05, Byron Blue wrote: > We are considering moving our operating system to the Linux environment. > Our product is a commercial OMNI sonar system used throughout the world > in the commercial fishing industry. The software itself and upgrades are > free of charge to the user. > Of course, my choice for the compiler would be GCC. > I should initially point out that I am unfamiliar with both Linux and > therefore GCC. Gcc is very popular on all operating systems, not just Linux. If it is of help during testing, development, or the move to Linux, then you might like to get a copy for Windows (assuming that is your old environment) - google for the "mingw" gcc build. Converting your application to build using gcc on Windows may let you split the task into two steps. > > This is the question: > GCC uses the GNU license scheme. This operating system would be > embedding in our industrial computers and I do not (of course) want the > source code for our operating system to be open source - available to > our competitors. When you say "operating system", do you really mean your application? /Linux/ is an "operating system", as is Windows, QNX, etc. If you wrote your own operating system, then you don't need Linux. The operating system has its own license - in the case of Linux, this is GPL2. This means that you /do/ have to make all the source code for your Linux installation available to your customers (and likely therefore also your competitors). However, it's not code that /you/ wrote, and it is not secret anyway - everyone can download it. So you've lost nothing. For your own application code, you can license it exactly as you want. The licence of the OS does not affect it, nor does the license for the compiler (well, technically the license of gcc /does/ affect it - in that it explicitly says that you can use whatever licence you want). So you can be as secret or open as you want for your own source code. Be aware that some libraries may restrict your licensing. But that applies anyway regardless of the OS or compiler. If you are writing code such as device drivers that link directly to the Linux kernel, then there are other licensing issues. But those are connected to Linux, rather than the compiler, so there are better places to discuss them (such as the comp.os.linux.embedded newsgroup). > The GNU site is not quite clear in this area and being > new I would not want to "break the rules". Could I ask you for a bit of > clarification on this issue? > Thank you for your time and efforts, > > Byron Blue > Software Engineering > MAQ Sonar >