From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,339586258709a642 X-Google-Attributes: gid111c93,public From: Craig Burley Subject: Re: Legal stuff Date: 1997/07/31 Message-ID: #1/1 X-Deja-AN: 260967005 References: <33DDCF0B.24A2EB41@cica.es> Organization: Cygnus Support Newsgroups: comp.os.linux.alpha Claus Denk writes: > If I go and compile my fortran source with the DU f77 compiler > in order to create a .s (assembly) file, change the .s file > a little bit so that the gnu assembler will compile it on > a linux system, is it legal to distribute the resulting object > code (or the resulting .s files) (no DU libraries are linked) ? If you're planning anything other than a trivial example of this, say, if you're thinking of making wide distributions to others of this, it's best to hire a lawyer. But, I'd guess that if the Digital UNIX f77 license does not contain any language prohibiting such use of the assembly output, you'd be fine. Essentially, the .s file is *typically* a transformation of the input which, in this case, you say belongs to you, so the transformation also belongs to you, even though it is performed by someone else's transformer (DU's f77). However, there can be exceptions to this. You could have signed (or be considered to have signed) an agreement saying you wouldn't do this sort of thing; DU's f77 could be inserting into the .s file a substantial work that is copyrighted by Digital (or someone other than you); and perhaps others that I can't think of right now. (Also, this view of source->transformer->output can break down when it comes to software. E.g. if you wrote Fortran code to do something the compiler decided it could replace wholesale, or substantially, with copyrighted code *directly* inserted into your .s file from a library -- "library" in the more generic sense of the term than a UNIX libfoo.a file here -- then the picture isn't so clear, so it's best to examine the .s file and be sure it has no copyright notices in it, or other such disclaimers.) Basically, I'd say that if you looked for explicit claims that any of the above exceptions were the case -- e.g. your DU f77 license agreement saying you can't just distribute a .s without taking other steps, or the .s file containing a copyright notice -- you'd be fine. If it turns out Digital, or someone else, later claims you're distributing something of theirs, you could probably just stop doing it without having much in the way of liability, since you looked for prohibitions in output that was reasonably expected to belong to you (the copyright holder of the Fortran code) anyway, and found none. (Berne convention, etc.) But, again, if this is more than just a trivial example Digital is highly unlikely to care about, hire a lawyer. -- "Practice random senselessness and act kind of beautiful." James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu