[M3devel] parse.c licensing question, dual?

Olaf Wagner wagner at elegosoft.com
Mon Jun 27 08:53:33 CEST 2016


On Mon, 27 Jun 2016 06:39:12 +0000
Jay K <jay.krell at cornell.edu> wrote:

>  - 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...)

My understand is that you can put any license on things you wrote yourself.
I'm not really sure, but I doubt that there is any legal entity left that
cares for the M3 sources from DEC SRC (if it is that old). So I _think_
that we (you) might change the copyright for those.

To be more compatible with the GNU stuff, it might be better to use
LGPL together with the gcc backend.

I am not a lawyer though.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com 
               Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194



More information about the M3devel mailing list