compiler

  • Thread starter poszukiwacz_kompilatora
  • Start date
P

poszukiwacz_kompilatora

Hello,
Whitch one should I buy? Whitch one is good/better? What do you think? I
want to produce software and then sell it (and that's why I have to buy
one).
(Ps. I don't have much money ;) )

compiler_seeker
 
K

Karl Heinz Buchegger

poszukiwacz_kompilatora said:
Hello,
Whitch one should I buy? Whitch one is good/better? What do you think? I
want to produce software and then sell it (and that's why I have to buy
one).

You don't need to buy a compiler for selling software.
There are good free compilers available.

http://ma.rtij.nl/acllc-c++.FAQ.html
Section 5.1
 
L

Lionel B

poszukiwacz_kompilatora bez spamu said:
But aren't they under GPL license (GNU)

No, not all of them.
witch restricts the usage?

Well, the GPL has been described as a "viral license", but I don't
believe it infects the code it compiles ;)

Seriously, unless you intended to use the *source code* of a GPLed
compiler in your code (you didn't, did you...) you'd not have a
problem.
 
S

simont

poszukiwacz_kompilatora bez spamu said:
But aren't they under GPL license (GNU)
Yes.

witch restricts the usage?

No. The compiler license only applies to your use of the compiler, and
your right to create derivative works of the compiler (eg, to extend or
change it).

It has no bearing on the code you write, or the object code the
compiler generates from it. You can pick any license you want for your
own software.
 
P

poszukiwacz_kompilatora

Seriously, unless you intended to use the *source code* of a GPLed
compiler in your code (you didn't, did you...) you'd not have a
problem.

But as far as (e.g.) Dev-cpp is concerned they wrie:
"oftware--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it."

So... my applications (I will make) will also be GPL'ed, am I right?

And what's about the others?
 
E

Evan

So... my applications (I will make) will also be GPL'ed, am I right?

No. In fact, if whatever programs you're using is released under the
GPL, they are not allowed to make you release your software under the
GPL. GCC and Dev-CPP are both released under the GPL, so you can create
anything with them and be good. (You might want to be careful with
GCC's runtime libraries; I don't know what the situation is there.)

You only have to GPL your code if you use or link to GPL'd code, and
then release your software. The disclaimer you posted:
Software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.

refers to extending software, not just writing your own.
 
E

Evan

No. In fact, if whatever programs you're using is released under the
GPL, they are not allowed to make you release your software under the
GPL. GCC and Dev-CPP are both released under the GPL, so you can create
anything with them and be good. (You might want to be careful with
GCC's runtime libraries; I don't know what the situation is there.)

Perhaps I could be a little more clear.

The GPL doesn't cover the *products* producted by merely using
software. In fact, you do not need to agree to the GPL in order to just
use the software. The only time the GPL comes into play is if you wish
to distribute a derivative work based off of the GPL.

As far as Dev-CPP and GCC are concerned, you are not producing a
derivative work as you are not incorporating any part of them into your
project. The only thing that you have to be aware of is tha GCC by
default uses glibc, which is LGPL. The LGPL is not viral* like the GPL,
so you may still release your code under whatever license you please.
You just have to offer the source for glibc to anyone who requests it.
(Read the LGPL for what you have to do.)

*I know a lot of GPL advocates don't like this term, but I'm gonna
stick with it now since I can't think of anything better. I don't mean
"viral" in a bad sense however; just try to keep the normal reaction of
"virus, bad!" down.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,291
Messages
2,571,492
Members
48,148
Latest member
Benzed8701

Latest Threads

Top