comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT, shared libraries, building in different directories...madness!
Date: Sun, 01 Oct 2006 16:41:41 +0100
Date: 2006-10-01T16:41:41+01:00	[thread overview]
Message-ID: <m2sli8nive.fsf@grendel.local> (raw)
In-Reply-To: 1159713893.645892.314970@m7g2000cwm.googlegroups.com

"sphinxmoro" <sphinx.moro@wanadoo.fr> writes:

> Hello,
> 1) I am not quite sure of what you mean whth the flag
> "-gntafno"
> Can you explain the meaning of the flag (or is this a typo?)

That must be -gnatfno (gnatmake -v will tell you the meanings, though
I expect you knew that).

> 2) When I have to use a library, ACT suggest to add a path like:
>
>    package Linker is
>       for Default_Switches ("ada") use ("-g", "--largs",
> "-Ld:/dev/ada/utils/lib", "-lmyutils");
>    end Linker;
>
> This is working, and in your example you don't specify such a path.
> What do you think?

Not a response to your question, but: (a) I thought it was just -largs
(one hyphen), (b) -largs is a flag to gnatmake, the flags in package
Linker are for gnatlink, (c) it's best to give -g as a flag to package
Builder (ie to gnatmake) rather than in the packages for the
individual components.



  reply	other threads:[~2006-10-01 15:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 18:54 GNAT, shared libraries, building in different directories...madness! Lucretia
2006-09-30  6:30 ` vgodunko
2006-09-30 18:07 ` Ludovic Brenta
2006-10-01 14:44   ` sphinxmoro
2006-10-01 15:41     ` Simon Wright [this message]
2006-10-01 16:28       ` Ludovic Brenta
2006-10-05 12:22   ` Philippe Bertin
2006-10-05 12:33     ` Ludovic Brenta
2006-10-05 15:28       ` Philippe Bertin
2006-10-05 16:06         ` Alex R. Mosteo
2006-10-05 20:22         ` Ludovic Brenta
2006-10-07  8:21           ` Simon Wright
2006-10-14 19:13   ` Lucretia
2006-10-15 11:00     ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2006-09-28 19:11 Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox