This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FreeBSD 4.0
- To: richard dot earnshaw at arm dot com
- Subject: Re: FreeBSD 4.0
- From: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Date: Mon, 20 Sep 1999 14:32:43 -0400
- cc: Zack Weinberg <zack at bitmover dot com>, law at cygnus dot com, gcc at gcc dot gnu dot org
Richard Earnshaw <rearnsha@arm.com> said:
> > Start with the template in libgcc2.c and change it to deal with header
> > files instead of libraries.
> But what if I want to pass my code through lint? I've now got to find
> another set of header files to replace these or I risk bringing my own
> code under the GPL (the special exemption clause only applies if I'm using
> the header for compiling with GCC).
AFAIU, if you pass the code + headers through <whatever> (<whatever> !=
gcc), you have to abide by the GPL with the output. I.e., _if_ you
distribute it further, you _must_ provide sources. I suspect you don't want
to distribute lint output...
BTW, this again leaves a gray area for files that are first preprocessed
somehow, for example with something like Oracle's Pro*C that handles SQL
embedded in C/C++, giving C/C++ files that are then compiled. AFAIR, Pro*C
_does_ #include files when preprocessing.
IANAL, just a satisfied GNU software user.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513