Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Creating an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 20 Topic 5603 of 5697
Post > Topic >>

Re: Creating and using Ada packages: need refinement

by Ludovic Brenta <ludovic@[EMAIL PROTECTED] > Mar 15, 2008 at 11:55 PM

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.




 20 Posts in Topic:
Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-15 01:09:04 
Re: Creating and using Ada packages: need refinement
Georg Bauhaus <rm.plus  2008-03-15 01:32:44 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-15 08:50:54 
Re: Creating and using Ada packages: need refinement
Simon Wright <simon.j.  2008-03-15 17:10:39 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-16 00:26:56 
Re: Creating and using Ada packages: need refinement
Ludovic Brenta <ludovi  2008-03-26 03:37:56 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-26 21:43:41 
Re: Creating and using Ada packages: need refinement
Eric Hughes <eric.eh9@  2008-03-28 08:31:15 
Re: Creating and using Ada packages: need refinement
Steve Whalen <SteveWha  2008-03-28 12:06:10 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-30 18:11:42 
Re: Creating and using Ada packages: need refinement
Steve Whalen <SteveWha  2008-03-31 12:04:22 
Re: Creating and using Ada packages: need refinement
Ludovic Brenta <ludovi  2008-03-15 23:55:31 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-16 07:52:20 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-26 15:30:37 
Re: Creating and using Ada packages: need refinement
Georg Bauhaus <rm.tsoh  2008-03-26 11:44:04 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-26 21:32:07 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-26 21:48:22 
Re: Creating and using Ada packages: need refinement
Ludovic Brenta <ludovi  2008-03-26 21:30:35 
Re: Creating and using Ada packages: need refinement
Ivan Levashew <octagra  2008-03-28 18:00:36 
Re: Creating and using Ada packages: need refinement
Georg Bauhaus <rm.tsoh  2008-03-28 16:51:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 22:09:11 CDT 2008.