From: Simon Wright <simon@pushface.org>
Subject: Re: fyi, GNAT and SPARK GPL 2016 are out
Date: Sun, 05 Jun 2016 11:02:17 +0100
Date: 2016-06-05T11:02:17+01:00 [thread overview]
Message-ID: <ly7fe4oswm.fsf@pushface.org> (raw)
In-Reply-To: 1d1406a1-c942-4258-9e7b-8c886018d6e4@googlegroups.com
gautier_niouzes@hotmail.com writes:
> Le dimanche 5 juin 2016 10:00:45 UTC+2, ahlan.m...@gmail.com a écrit :
>
>> Regarding licensing...
>> How can you find out under which license an executable was produced?
>> Is there a tool you can run on the executable or what?
>
> Yes, Notepad for instance. Open the executable and search for "GNAT
> Version"...
>
> Now, from within the Ada program you can also get it: have a look at
> package GNAT.Compiler_Version
or on a Unix box
$ strings {executable} | grep -i 'gnat version'
If this comes up with something like "GNAT Version: 6.1.0" there is a
pretty good chance that the executable was built against an RTS with the
GCC Runtime Library Exception.
But if it comes up with something like "GNAT Version: GPL 2016
(20160515-49)" then there still exists the remote possibility that the
RTS that was used did have the GCC Runtime Library Exception.
That would depend on someone investing quite a bit of patience in
getting the RTS to build and then checking it - hence, "remote".
If you're building for an embedded target, it's extremely unlikely you'd
find "GNAT Version" in the executable.
next prev parent reply other threads:[~2016-06-05 10:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 13:33 fyi, GNAT and SPARK GPL 2016 are out Nasser M. Abbasi
2016-06-01 22:22 ` daserlang
2016-06-02 12:56 ` mockturtle
2016-06-03 1:56 ` David Botton
2016-06-03 7:16 ` Simon Wright
2016-06-05 8:00 ` ahlan.marriott
2016-06-05 8:42 ` gautier_niouzes
2016-06-05 10:02 ` Simon Wright [this message]
2016-06-04 16:13 ` gautier_niouzes
2016-06-04 16:31 ` Georg Bauhaus
2016-06-04 18:35 ` gautier_niouzes
2016-06-04 19:34 ` Simon Wright
2016-06-05 9:38 ` gautier_niouzes
2016-06-05 7:14 ` Randy Brukardt
2016-06-04 17:36 ` Jeffrey R. Carter
2016-06-05 14:07 ` Alejandro R. Mosteo
2016-06-05 18:02 ` Jeffrey R. Carter
2016-06-05 7:12 ` Randy Brukardt
2016-06-04 21:15 ` ogpual
2016-06-04 21:49 ` Simon Wright
2016-06-04 23:02 ` ogpual
2016-06-05 17:57 ` Hadrien Grasland
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox