From: Ivan Levashew <octagram@bluebottle.com>
Subject: Re: Creating and using Ada packages: need refinement
Date: Wed, 26 Mar 2008 15:30:37 +0600
Date: 2008-03-26T15:30:37+06:00 [thread overview]
Message-ID: <fsd4lr$lk3$1@registered.motzarella.org> (raw)
In-Reply-To: <87fxur8un0.fsf@ludovic-brenta.org>
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 @prefix@ with /usr/local which is OK, but
@exec_prefix@ 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
next prev parent reply other threads:[~2008-03-26 9:30 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
2008-03-16 1:52 ` Ivan Levashew
2008-03-26 9:30 ` Ivan Levashew [this message]
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