From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horst von Brand To: richard.earnshaw@arm.com Cc: Zack Weinberg , law@cygnus.com, gcc@gcc.gnu.org Subject: Re: FreeBSD 4.0 Date: Mon, 20 Sep 1999 11:39:00 -0000 Message-id: <199909201832.OAA20610@pincoya.inf.utfsm.cl> References: <199909201733.SAA23106@sun52.NIS.cambridge> X-SW-Source: 1999-09/msg00845.html Richard Earnshaw 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 ( != 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horst von Brand To: richard.earnshaw@arm.com Cc: Zack Weinberg , law@cygnus.com, gcc@gcc.gnu.org Subject: Re: FreeBSD 4.0 Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <199909201832.OAA20610@pincoya.inf.utfsm.cl> References: <199909201733.SAA23106@sun52.NIS.cambridge> X-SW-Source: 1999-09n/msg00845.html Message-ID: <19990930180200.N4u3OQ8K1K4H8G1Ff2MrfRk4-A2CYWAajZ3FuSVe0FA@z> Richard Earnshaw 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 ( != 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