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,4cabfb8e49247533 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Multiple shared libraries with a single spec References: <1131107328.981560.222350@g43g2000cwa.googlegroups.com> <1131119582.929654.323550@f14g2000cwb.googlegroups.com> <1131191095.053777.140450@z14g2000cwz.googlegroups.com> <1131384630.408929.252970@g47g2000cwa.googlegroups.com> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:IL3W1jO5KgFT3dx1NUOWPsjgFoo= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Nov 2005 18:42:49 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1131406971 66.159.65.1 (Mon, 07 Nov 2005 18:42:51 EST) NNTP-Posting-Date: Mon, 07 Nov 2005 18:42:51 EST Xref: g2news1.google.com comp.lang.ada:6274 Date: 2005-11-07T18:42:49-05:00 List-Id: "Lucretia" writes: > Stephen Leake wrote: >> GNAT GPL 2005 provides 'gprmake', which you run instead of gnatmake. >> You can then add C (not C++, I think) files (that is, directories >> containing *.c files) to your GNAT project files, and gprmake compiles >> the C code into a library, then calls gnatmake to build the Ada main, >> automatically linking in the C library. Very convenient. > > Is it possible to *not* build a library from the C code as my code is a > mixture which is, in it's entirety, built into a single library at the > end, the way it should be, in this case! I don't know. You'll have to ask AdaCore, or try reading the gprmake source. -- -- Stephe