[M3devel] parse.c licensing question, dual?

Jay K jay.krell at cornell.edu
Mon Jun 27 08:39:12 CEST 2016


 - I basically understand licensing.
 - I understand GPL
 - I understand more liberal BSD license
 - I understand that the notion of "linking" hasn't been defined, but everyone seems to define it "like how static libraries work", "maybe with dynamic linking", and definitely not with "process boundaries".
 - So cm3 calls gcc across a process boundary, and parse.c is GPL licensed, linked to other GPL licensed code, and does not "link" to cm3, so does not infect the cm3 runtime, so does not infect all the Modula-3 code.


What I do not understand:
 - dual licensing
 - who owns parse.c
 - can parse.c be dual licensed?

In particular:
jair:mips jay$ edit /dev2/cm3.4/m3-sys/m3cc/gcc/gcc/m3cg/
    m3-parse.h           parse.c         
 m3-def.h        m3cg.h              


Some of these files would be useful in other backends, structured like the cm3cg backend at least, and possibly
in-process ones, either call-based or "linearized IR in memory".

In particular m3-def.h and m3cg.h. I would like to maybe reuse these in non-GPL code.

m3cg.h is output by m3cggen.
m3-def.h I wrote.

These files need to be at least be GPL licensed since they are used by parse.c and linked to the overall gcc backend.
Can we also BSD license them or such?

(and broken record, but m3-def.h...we could really use some sort of preprocessor for Modula-3, maybe...this form of C/C++ is super useful...)

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20160627/a8c0f29b/attachment-0002.html>


More information about the M3devel mailing list