[AWS] gnatlink fails with aws hello world example on debian 4.0

Andreas Schipplock andreas at schipplock.de
Wed Dec 3 20:35:12 CET 2008


Thanks for clarifying that :).
-
Kind regards,
Andreas Schipplock.

On Wed, Dec 3, 2008 at 8:24 PM, Ludovic Brenta
<ludovic at ludovic-brenta.org> wrote:
> My bad - I forgot that the compiler in Etch does not understand "library
> project files" and therefore you need to specify a package Linker in your
> own project file (i.e. default.gpr). This is explained in detail in
> /usr/share/ada/adainclude/aws.gpr. The best way is:
>
> package Linker renames AWS.Linker;
>
> In Debian Lenny, the compiler is newer and does understand "library
> project files". Your /usr/lib/gnat/aws.gpr is a library project file.
> With these, your default.gpr no longer has to have a package Linker.
>
> Upgrading to 4.0r5 "Etch and a half" will not change anything to Ada
> packages but may close unrelated security holes.
>
> --
> Ludovic Brenta.
>



-- 
-
Kind regards,
Andreas Schipplock.


More information about the AWS mailing list