comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Creating and using Ada packages: need refinement
Date: Sat, 15 Mar 2008 23:55:31 +0100
Date: 2008-03-15T23:55:31+01:00	[thread overview]
Message-ID: <87fxur8un0.fsf@ludovic-brenta.org> (raw)
In-Reply-To: frh3s7$25b$1@registered.motzarella.org

Ivan Levashew writes:
> Simon Wright пишет:
>> "I refuse to use project files"
> So in case I meet a non-project-based Ada package, must I convert it
> to a project-based one?

Yes, preferably.

>> no one will have GNAT without gnatmake &
>> gprmake.
>
> And how should one invoke gnatmake from Makefile?
> My cmdline has grown to
> $(GNATMAKE) --GNATBIND=$(GNATBIND) --GNATLINK=$(GNATLINK) \
>   -cargs $(ADAFLAGS) -bargs $(GNATBINDFLAGS) \
>   -largs $(GNATLDFLAGS) --LINK="$(CCLD) $(CCLDFLAGS)" \
>   -margs $(GNATMAKEFLAGS) $(GNATFLAGS)

That's ugly.  Look at how the Debian Policy for Ada solves the problem
of using multiple libraries in a single program:

http://www.ada-france.org/debian/debian-ada-policy.html

-- 
Ludovic Brenta.





  reply	other threads:[~2008-03-15 22:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 19:09 Creating and using Ada packages: need refinement Ivan Levashew
2008-03-15  0:32 ` Georg Bauhaus
2008-03-15  2:50   ` Ivan Levashew
2008-03-15 17:10     ` Simon Wright
2008-03-15 18:26       ` Ivan Levashew
2008-03-15 22:55         ` Ludovic Brenta [this message]
2008-03-16  1:52           ` Ivan Levashew
2008-03-26  9:30           ` Ivan Levashew
2008-03-26 10:37             ` Ludovic Brenta
2008-03-26 15:43               ` Ivan Levashew
2008-03-26 20:30                 ` Ludovic Brenta
2008-03-28 12:00                   ` Ivan Levashew
2008-03-28 15:31                     ` Eric Hughes
2008-03-28 15:51                     ` Georg Bauhaus
2008-03-28 19:06                     ` Steve Whalen
2008-03-30 11:11                       ` Ivan Levashew
2008-03-31 19:04                         ` Steve Whalen
2008-03-26 10:44             ` Georg Bauhaus
2008-03-26 15:32               ` Ivan Levashew
2008-03-26 15:48                 ` Ivan Levashew
replies disabled

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