Author Topic: Using C++ libraries for commercial purposes.  (Read 457 times)

Offline Nemev

  • Single posting newcomer
  • *
  • Posts: 2
Using C++ libraries for commercial purposes.
« on: January 09, 2020, 08:04:36 pm »
Hi
I know Code::Blocks is free IDE and everyone Can use it for all purposes. But Can I use libraries (for example iostream etc.) for commercial purposes without giving source code of software?
Best Regards.

Online stahta01

  • Lives here!
  • ****
  • Posts: 6782
    • My Best Post
Re: Using C++ libraries for commercial purposes.
« Reply #1 on: January 09, 2020, 08:58:39 pm »
Hi
I know Code::Blocks is free IDE and everyone Can use it for all purposes. But Can I use libraries (for example iostream etc.) for commercial purposes without giving source code of software?
Best Regards.

Read the licenses of the Compiler you are using!
Code::Blocks is not a Compiler.

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Nemev

  • Single posting newcomer
  • *
  • Posts: 2
Re: Using C++ libraries for commercial purposes.
« Reply #2 on: January 11, 2020, 11:41:06 pm »
Hi
I know Code::Blocks is free IDE and everyone Can use it for all purposes. But Can I use libraries (for example iostream etc.) for commercial purposes without giving source code of software?
Best Regards.

Read the licenses of the Compiler you are using!
Code::Blocks is not a Compiler.

Tim S.
Hi. I'm using GNU GCC Compiler. Is licensed under GNU GPL. I can compile my code for commercial purposes without licensing under GNU GPL. I have  got a question. If I add #include (name of the library) can I don't license under GNU GPL? There libraries is licensed under GNU GPL from FSF.

Online stahta01

  • Lives here!
  • ****
  • Posts: 6782
    • My Best Post
Re: Using C++ libraries for commercial purposes.
« Reply #3 on: January 12, 2020, 12:01:02 am »
Hi
I know Code::Blocks is free IDE and everyone Can use it for all purposes. But Can I use libraries (for example iostream etc.) for commercial purposes without giving source code of software?
Best Regards.

Read the licenses of the Compiler you are using!
Code::Blocks is not a Compiler.

Tim S.
Hi. I'm using GNU GCC Compiler. Is licensed under GNU GPL. I can compile my code for commercial purposes without licensing under GNU GPL. I have  got a question. If I add #include (name of the library) can I don't license under GNU GPL? There libraries is licensed under GNU GPL from FSF.

I am not a Lawyer.
Please read the rules for this website: http://forums.codeblocks.org/index.php/topic,9996.0.html

Ask your legal question about your compiler on a site that supports your compiler!

Tim S.
« Last Edit: January 12, 2020, 02:25:39 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org