Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Xeee

a compiler

This topic is 5129 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need a free compiler or Compiler/IDE set whose license permits selling programs made using this compiler. I''ve checked Borland C++ Compiler 5.5 and I found out the license doesn''t permit. I''ve also checked out Mingw but I didn''t understand anything from it''s license(these official documents are hard to understand). I think that the free, recently released MS compiler is the same as borland. about the IDE, Dev-C++ is free, but it''s under GPL which enforces you to distribute the source code with your program, and I don''t want to. if I''m wrong at anything, please correct me. thanks for your help,

Share this post


Link to post
Share on other sites
Advertisement
MingW is the compiler in Dev/C++

Yes, it is GPL, but the GPL does not apply to programs which are just compiled with it, you may sell them under any licence you wish.

It only applies if you are making a derivative work of the MingW compiler itself, which I suspect you aren''t.

I don''t see how a game would be likely to constitute a derivative work of a C++ compiler.

Mark

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
AFAIK the recently released MS compiler does allow distribution of binary images produced with it in any manner you wish (commercial or free), and it also allows you to redistribute the binary images of the support libraries that come with it (msvcrt etc.), what you are not allowed to distribute is the source code to the support libraries or the samples that come with it, where you have made no or insubstasial modifications to them.

QED you can use it for building comercial products.

Share this post


Link to post
Share on other sites
quote:
Original post by markr
MingW is the compiler in Dev/C++



yeah, I know this, I said that the IDE is under GPL, not the compiler

quote:
Original post by markr
but the GPL does not apply to programs which are just compiled with it, you may sell them under any licence you wish.



MinGW is not under GPL, but some of the libraries bundled with it are under GPL, and they said in GPL that using the libraries when linking with some program is considered a derivative to the library, don''t know....

Share this post


Link to post
Share on other sites
you can distribute programs compiled with the borland command-line compiler 5.5... you just can''t distribute the compiler or the libraries, etc.

Share this post


Link to post
Share on other sites
quote:
from license.txt which comes with the free borland C++ Compiler 5.5

ADDITIONAL LICENSE TERMS FOR Borland C++ Compiler 5.5
Inprise grants to you as an individual, a personal,
nonexclusive license to install and use the Software for the
sole purposes of designing, developing, testing, and
deploying application programs which you create. You may
install a copy of the Software on a computer and freely move
the Software from one computer to another, provided that you
are the only individual using the Software. If you are an
entity, Inprise grants you the right to designate one
individual within your organization ("Named User") to have
the right to use the Software in the manner provided above.


GENERAL TERMS THAT APPLY TO COMPILED PROGRAMS AND
REDISTRIBUTABLES
You may write and compile (including byte-code compile) your
own application programs using the Software, including any
libraries and source code included for such purpose with the
Software. You may reproduce and distribute, in executable
form only, programs which you create using the Software
without additional license or fees, subject to all of the
conditions in this License Agreement.



No, You can''t!

Share this post


Link to post
Share on other sites
quote:
Original post by Xeee
MinGW is not under GPL, but some of the libraries bundled with it are under GPL, and they said in GPL that using the libraries when linking with some program is considered a derivative to the library, don''t know....

All of the libraries and headers distributed with MinGW and GCC are either not licensed under the GPL (MinGW) or licensed under the GPL with an exception that allows linking of whatever kind is necessary (see libstdc++''s license for an example). Paying careful attention to licenses is always good, but your specific worries aren''t an issue in this instance.

Share this post


Link to post
Share on other sites
quote:
Original post by Xeee
quote:
from license.txt which comes with the free borland C++ Compiler 5.5

ADDITIONAL LICENSE TERMS FOR Borland C++ Compiler 5.5
Inprise grants to you as an individual, a personal,
nonexclusive license to install and use the Software for the
sole purposes of designing, developing, testing, and
deploying application programs which you create
. You may
install a copy of the Software on a computer and freely move
the Software from one computer to another, provided that you
are the only individual using the Software. If you are an
entity, Inprise grants you the right to designate one
individual within your organization ("Named User") to have
the right to use the Software in the manner provided above.


GENERAL TERMS THAT APPLY TO COMPILED PROGRAMS AND
REDISTRIBUTABLES
You may write and compile (including byte-code compile) your
own application programs using the Software, including any
libraries and source code included for such purpose with the
Software. You may reproduce and distribute, in executable
form only, programs which you create using the Software
without additional license or fees
, subject to all of the
conditions in this License Agreement.



No, You can''t!


read it again

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by krez
quote:
Original post by Xeee
quote:
from license.txt which comes with the free borland C++ Compiler 5.5

ADDITIONAL LICENSE TERMS FOR Borland C++ Compiler 5.5
Inprise grants to you as an individual, a personal,
nonexclusive license to install and use the Software for the
sole purposes of designing, developing, testing, and
deploying application programs which you create
. You may
install a copy of the Software on a computer and freely move
the Software from one computer to another, provided that you
are the only individual using the Software. If you are an
entity, Inprise grants you the right to designate one
individual within your organization ("Named User" to have
the right to use the Software in the manner provided above.


GENERAL TERMS THAT APPLY TO COMPILED PROGRAMS AND
REDISTRIBUTABLES
You may write and compile (including byte-code compile) your
own application programs using the Software, including any
libraries and source code included for such purpose with the
Software. You may reproduce and distribute, in executable
form only, programs which you create using the Software
without additional license or fees
, subject to all of the
conditions in this License Agreement.



No, You can''t!


read it again


Every time the license talks about "The Software" its refering to the compiler, not what you create.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!