Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: f2099 on August 28, 2011, 03:45:44 am

Title: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 28, 2011, 03:45:44 am

   Hi, everyone. I've searched the forum for this information, and I apologize for bringing up a subject already discussed here, but I am still a little insecure, so I would like to ask you: can I use Code::Blocks with the GNU GCC compiler to develop commercial, closed source software? Thanks in advance!
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: stahta01 on August 28, 2011, 04:40:56 am
read http://forums.codeblocks.org/index.php/topic,12773.0.html

and http://forums.codeblocks.org/index.php/topic,13117.0.html

Tim S.
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 28, 2011, 04:47:11 am

   I understand that I can use Code::Blocks for commercial, closed-source developing, as long as I don't use parts of CB's source code, but am I allowed to use the GNU GCC compiler commercially too?
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: Jenna on August 28, 2011, 09:09:14 am

   I understand that I can use Code::Blocks for commercial, closed-source developing, as long as I don't use parts of CB's source code, but am I allowed to use the GNU GCC compiler commercially too?

As far as I know, you can, but if you want to be absolutely sure, you should ask at mailing list related to the gnu compiler suite (and of course read the documentation).

This software is not related to C::B, we only bundle it with C::B on windows, to make the starting easier.
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: zabzonk on August 28, 2011, 09:09:55 am
> am I allowed to use the GNU GCC compiler commercially too?

Yes, lot's of commercial companies use GCC.  The limitation is on  the libraries, not the compiler, and if these are LGPL licensed, which most are, you can distribute software using them without falling under the GPL.
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 29, 2011, 05:39:24 am

As far as I know, you can, but if you want to be absolutely sure, you should ask at mailing list related to the gnu compiler suite (and of course read the documentation).

This software is not related to C::B, we only bundle it with C::B on windows, to make the starting easier.

Thanks!
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 29, 2011, 05:42:12 am

Yes, lot's of commercial companies use GCC.  The limitation is on  the libraries, not the compiler, and if these are LGPL licensed, which most are, you can distribute software using them without falling under the GPL.


Thanks! By libraries, you mean the header files, like stdio.h? So, basically, if I use the GCC compiler and the standard C libraries, I don't have to worry about licensing?

By the way, is windows.h also free for commercial use?

Thanks again!
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: Freem on August 29, 2011, 09:40:28 am
Usually, headers include their own license in the file.
But I don't think standard libs and/or windows libs are not free for commercial use.
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: MortenMacFly on August 29, 2011, 11:03:32 am
By the way, is windows.h also free for commercial use?
If that wouldn't be the case, there would be now commercial Windows software at all.
(As this pretty much covers the Windows API.)

Next time, please ask in the right forums. "windows.h" is nothing provided with the Code::Blocks IDE directly, but ships with the compiler you are using. So please, ask in the appropriate forum. Thank you.
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 31, 2011, 03:43:20 am
Usually, headers include their own license in the file.
But I don't think standard libs and/or windows libs are not free for commercial use.

Thanks!
Title: Re: Commercial use (Code::Blocks + GNU GCC compiler)
Post by: f2099 on August 31, 2011, 03:44:05 am
By the way, is windows.h also free for commercial use?
If that wouldn't be the case, there would be now commercial Windows software at all.
(As this pretty much covers the Windows API.)

Next time, please ask in the right forums. "windows.h" is nothing provided with the Code::Blocks IDE directly, but ships with the compiler you are using. So please, ask in the appropriate forum. Thank you.

Thanks, and I apologize.