This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Meta-Level Compilation project / Introspector/ AST access / Licensing question
- From: James Michael DuPont <mdupont777 at yahoo dot com>
- To: Joe Buck <Joe dot Buck at synopsys dot com>, Robert Dewar <dewar at gnat dot com>
- Cc: Joe dot Buck at synopsys dot COM, mdupont777 at yahoo dot com, gcc at gcc dot gnu dot org
- Date: Fri, 21 Jun 2002 12:49:45 -0700 (PDT)
- Subject: Re: Meta-Level Compilation project / Introspector/ AST access / Licensing question
> I should have been more careful when I wrote
> "Correct." Should GCC accept
> patches to provide a standard interface that reads
> and writes compiler
> internals in XML format, with documentation, then it
> would be hard to
> argue that all readers and writers of the format
> would need to use GPL
> licensing, because use by external programs would be
> *intentional*.
Even without XML, all of the patches that I know of by
others who are accessing the gcc this way are via the
tree-dumper. It provides all that is needed (Exept
maybe a really small patch to dump function bodies).
Even without documentation, the source code is
documentation enough.
Also if you are using the tree-serializer patch, then
you cannot prevent anyone from accessing the ASTS in a
GDBM file to create non-free tools.
So I am not doing anything new here, and you cannot
say that the gcc does not have these patches, they are
being used to interface to other tools of different
licenses, even if slightly modified.
Mike
=====
James Michael DuPont
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com