License for code which generates code

Andy stude.list at
Fri Jul 18 11:25:30 UTC 2008

edA-qa mort-ora-y wrote:
> I would like that the main code be GPL, but I also want that anybody can
> do whatever they want with the generated code (much as how free
> compilers tend to work).

Have you read the following FAQ entries on the Gnu website?

In what cases is the output of a GPL program covered by the GPL too?

Can I use GPL-covered editors such as GNU Emacs to develop non-free
programs? Can I use GPL-covered tools such as GCC to compile them?

Is there some way that I can GPL the output people get from use of my
program? For example, if my program is used to develop hardware designs,
can I require that these designs must be free?


More information about the Discussion mailing list