"GNU" and Ada

dewar@gnat.com dewar@gnat.com
Sat Dec 29 06:02:00 GMT 2001


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



More information about the Gcc mailing list