This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "GNU" and Ada
- From: dewar at gnat dot com
- To: fw at deneb dot enyo dot de, rms at gnu dot org
- Cc: dewar at gnat dot com, gcc at gcc dot gnu dot org
- Date: Sat, 29 Dec 2001 07:46:51 -0500 (EST)
- Subject: Re: "GNU" and Ada
<<We could tamper with the GNAT compiler to compile only GNU.* packages
which have got the appropriate license text at the beginning, or a
start.
>>
Note incidentally that the GNAT compiler does have circuitry built in that
warns you if the compiler detects a suspicious license violation (e.g. the
inclusion of GPL'ed code with modified-GPL code in the same partition). There
is also a License pragma that can be used to specifically identify the
license of a unit (GNAT looks either for standard GNAT comment headers, or
for the License pragma to know what the license of a particular unit is -- if
it finds neither, it assumes it does not know (and does not issue any warnings).