From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: GNAT Project Files?
Date: 26 Jun 2005 02:22:14 +0200
Date: 2005-06-26T02:22:14+02:00 [thread overview]
Message-ID: <m2slz6dl1l.fsf@hugin.crs4.it> (raw)
In-Reply-To: u1x6qyx7q.fsf@obry.net
Pascal Obry <pascal@obry.net> writes:
> Jacob Sparre Andersen <sparre@nbi.dk> writes:
> > More precisely:
> >
> > package Linker is
> > for Switches ("test_word_buffer.adb") use ("-laws", "-lcharles");
> > end Linker;
> >
> > Thanks.
>
> This is not right. If the above works it means that the AWS project
> file is wrong. How aws.gpr was built?
No idea. It is a part of the Debian package with AWS. Here's the
non-comment part of it:
-----
with "/usr/share/ada/adainclude/xmlada.gpr";
project AWS is
for Source_Dirs use ("/usr/share/ada/adainclude/aws");
for Object_Dir use "/usr/lib/ada/adalib/aws";
Ada_Switches := "-laws";
package Linker is
for Default_Switches ("Ada") use (Ada_Switches);
end Linker;
end AWS;
-----
> Which AWS version are you using?
2.0p-4 in Debian.
> The whole point of the Project File is to deal with those issues for
> you.
I thought so too before I starte trying to use them, but it is my
experience that they create more problems than they solve.
Jacob
--
"Genes don't matter. It's all physics."
next prev parent reply other threads:[~2005-06-26 0:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-25 16:11 GNAT Project Files? Jacob Sparre Andersen
2005-06-25 18:14 ` Stephen Leake
2005-06-25 18:53 ` Jacob Sparre Andersen
2005-06-25 20:53 ` Pascal Obry
2005-06-26 0:08 ` Stephen Leake
2005-06-26 7:55 ` Pascal Obry
2005-06-26 13:00 ` Stephen Leake
2005-06-26 0:22 ` Jacob Sparre Andersen [this message]
2005-06-26 7:59 ` Pascal Obry
2005-06-26 13:24 ` Ludovic Brenta
2005-06-26 19:40 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox