From: Charmed Snark <snark@cogeco.ca>
Subject: Re: Autoconf & gnat Help Needed
Date: Wed, 21 Apr 2010 20:31:14 +0000 (UTC)
Date: 2010-04-21T20:31:14+00:00 [thread overview]
Message-ID: <Xns9D61A80E6BE9FSnarkCharmedImSure@188.40.43.245> (raw)
In-Reply-To: Xns9D61A1C47BBBWarrensBlatherings@188.40.43.245
Warren expounded in news:Xns9D61A1C47BBBWarrensBlatherings@188.40.43.245:
> Has anyone here had experience using GNAT with autoconf/automake?
..
> I need to accomplish the same in an automake fashion. I tried
> (unsuccessfully) the following:
>
> z9$(EXE): libz9.a z9-tokens.ads
> gnatmake $(AFLAGS) z9.adb
> gnatbind -n z9.ali
> gnatlink z9.ali ccmain.o --GCC=g++ --LINK=g++ -L. -lz9 ...
Ok, I nearly got it now:
z9$(EXEEXT): libz9.la z9-tokens.ads
gnatmake $(AFLAGS) z9.adb
gnatbind -n z9.ali
gnatlink z9.ali --GCC=g++ --LINK=g++ -L. -lz9 ...
This doesn't see libz9.a, because libtool puts it in
./.libs/libz9.a. I could cheat and refer to that, but
I'd prefer to coax libtool into doing the "Right Thing".
So I just gotta figure how to get libtool to link this
with gnatlink, replacing the "gnatlink" step above.
Warren
next prev parent reply other threads:[~2010-04-21 20:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 19:54 Autoconf & gnat Help Needed Warren
2010-04-21 20:31 ` Charmed Snark [this message]
2010-04-22 10:23 ` Georg Bauhaus
2010-04-22 15:19 ` Warren
2010-04-22 10:44 ` Stephen Leake
2010-04-22 15:27 ` Warren
2010-04-22 15:59 ` Warren
2010-04-23 6:48 ` Stephen Leake
2010-04-23 13:44 ` Warren
2010-04-23 18:39 ` Vadim Godunko
2010-04-23 20:13 ` Warren
2010-04-24 11:18 ` Stephen Leake
2010-04-26 15:01 ` Warren
2010-04-27 6:57 ` Alex R. Mosteo
2010-04-27 13:21 ` Warren
2010-04-23 18:41 ` Vadim Godunko
2010-04-23 20:18 ` Warren
2010-04-24 0:11 ` Ludovic Brenta
2010-04-26 15:06 ` Charmed Snark
2010-04-26 18:30 ` Robert A Duff
2010-04-24 12:54 ` Vadim Godunko
2010-04-26 15:25 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox