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 14 of 20 Topic 5603 of 5697
Post > Topic >>

Re: Creating and using Ada packages: need refinement

by Ivan Levashew <octagram@[EMAIL PROTECTED] > Mar 26, 2008 at 03:30 PM

Ludovic Brenta пишет:
> 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
I can't make my packages just for Debian, however I can ease life of 
Debian maintainers. And GNAE documentation was removed from website. I'm 
not sure if I can rely on it. Adaproject seems to be unmaintained. I 
wasn't able to install it with just ./configure-make-make install. 
../config.status replaces @[EMAIL PROTECTED]
 with /usr/local which is OK, but 
@[EMAIL PROTECTED]
 with ${prefix} which is not OK in the resulting shell 
script file. Adaproject's out-of-box licenses are just BSD & GPL. No any 
GMGPL. I might have better luck with raw Autotools.

I have found old similar topic:

http://groups.google.ru/group/comp.lang.ada/browse_frm/thread/ab5f27c42c253ac5/1500582f20e9b1b8?hl=ru&tvc=1

I had an impression that virtually nobody cares about Ada packages' 
usage on a non-standard platform like Mac OS X.

Consider this example:
http://developer.apple.com/technotes/tn2005/tn2137.html

 > env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch \
 > i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc"   ./configure \
 > --prefix=${HOME}/Hello --disable-dependency-tracking
That's how average GNU autotools-based packages are compiled on Mac OS 
X. Autotools' generated packages were flexible enough to make it 
possible to compile many of them without headaches. ./configure 
invocation is virtually the same for the most of Autotools packages. You 
can even make a proxy script that sets these CFLAGS&LDFLAGS&configure 
parameters to make its invokation shorter. My aim is to write such a 
line for an ideal Ada-containing package. I'd like to make my Ada 
packages OS-agnostic but easily tunable for my OS.

-- 
If you want to get to the top, you have to start at the bottom




 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:32:09 CDT 2008.