This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: MELT doc licensing issues.]


I'm forwarding this to the list, so that I can answer on-list.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
--- Begin Message ---
Hello Mark (& CC to David)

[feel free to forward this, or your reply, to gcc@gcc.gnu.org if you
feel it has general interest]

In http://gcc.gnu.org/ml/gcc/2010-06/msg00058.html [GFDL/GPL issues] you
announced that some comments from GCC code can be put in documentation.

I am the main author of GCC MELT, a branch of GCC (also usable as a
plugin) providing a lispy domain specific language to code GCC
extensions in. See http://gcc.gnu.org/wiki/MELT

Melt documentation looks like following :doc line

 ;;;; fetch the nth argument inside a call
 (defprimitive gimple_call_nth_arg (:gimple gc :long n) :tree
   :doc #{Safely retrieve in gimple call $GC its $N-th argument.}#
   #{(($gc && gimple_code($gc) == GIMPLE_CALL && ($n)>=0
       && ($n) < gimple_call_num_args($gc))
      ? gimple_call_arg(($gc), ($n)) : (tree)0)}# )

There are more than two thousands such :doc chunks, automatically
processed to produce a meltgendoc.texi file included from gccint.texi in
the MELT branch.

Is this covered by Richard Stallman's decision for dual licensing of
GPLv3 and GFDLv2?  If not, how can MELT's embedded documentation be
modified to allow automatic creation of documentation?


licensing@fsf.org (Karl Berry) replied to a question [gnu.org #579118]
http://gcc.gnu.org/ml/gcc/2010-05/msg00674.html that I could
dual-license the code, but later you
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00767.html told me to
remove the dual-license.

What is the definitive answer?

Should I add a notice in MELT files? Can the generated meltgendoc.texi
be redistributed?

Thanks for reading, and to David Edelsohn (in CC) for helping me
rephrase my questions.

Regards.


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]