From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,12c54a0f5a27d882 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Autoconf & gnat Help Needed References: <82sk6nn4vn.fsf@stephe-leake.org> Date: Fri, 23 Apr 2010 02:48:06 -0400 Message-ID: <82ochamzq1.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (windows-nt) Cancel-Lock: sha1:A2sj0WYaIHNUSzUuHkvJeX6ZlhE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 140944bd14293e197caa723070 Xref: g2news1.google.com comp.lang.ada:10148 Date: 2010-04-23T02:48:06-04:00 List-Id: Warren writes: > Stephen Leake expounded in news:82sk6nn4vn.fsf@stephe-leake.org: > >> Warren writes: >> >>> Has anyone here had experience using GNAT with autoconf/automake? >> >> My advice is to stop using the autotools, and use gprbuild instead. >> >> gprbuild knows how to build C libraries and link them with Ada. It can >> also use a C main, if necessary. > > Unfortunately, there is more to this than just the build. > I am mostly concerned about the ./configure and the generated > config.h file. Autoconf is critical for wide platform support. Apparently you have source code in C as well as Ada? My sympathies :). > But you gave me an idea. Maybe I can just use autoconf and do away > with automake and libtool. Yes. > I still need to use the libtool's library libtdl (I think it was), but > that shouldn't be a problem. I'm not familiar with that tool; what does it do? > That way I can still use make (gmake), as I have always done. I always run gprbuild from Gnu make. -- -- Stephe