Author Topic: Commercial use (Code::Blocks + GNU GCC compiler)  (Read 11850 times)

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Commercial use (Code::Blocks + GNU GCC compiler)
« 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!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #2 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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #3 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.

zabzonk

  • Guest
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #4 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.

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #5 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!

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #6 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!

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #7 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #8 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #9 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!

Offline f2099

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Commercial use (Code::Blocks + GNU GCC compiler)
« Reply #10 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.