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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c1bdceb867926fdb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!r27g2000yqb.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada with C Date: Mon, 26 Jul 2010 10:14:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <0dadd6b6-452d-43e9-b0b9-374b5106b298@t2g2000yqe.googlegroups.com> <4acf7f59-2675-4498-8d95-35d01bc1e3af@j8g2000yqd.googlegroups.com> <1vcstpdax6vxp$.1umnj0p2l8a32$.dlg@40tude.net> <1x17akdoyxksk$.1edm73b1nxqyf$.dlg@40tude.net> <71d0ec88-7ba9-41ed-9775-b8614dcb798a@q22g2000yqm.googlegroups.com> <95c938e4-fc91-4ba0-bdea-cbf0fda7c852@s9g2000yqd.googlegroups.com> <026a9816-4c14-4cba-bdd9-f88c170a5155@s9g2000yqd.googlegroups.com> <1q5mibvgn7hrl$.1fnnqju5vzdkm.dlg@40tude.net> <7b002421-0baf-4cda-a89d-dc9856cc3978@t10g2000yqg.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1280164488 25901 127.0.0.1 (26 Jul 2010 17:14:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 26 Jul 2010 17:14:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r27g2000yqb.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12587 Date: 2010-07-26T10:14:48-07:00 List-Id: On Jul 26, 4:52 pm, "Dmitry A. Kazakov" wrote: - Hide quoted text - - Show quoted text - > On Mon, 26 Jul 2010 06:40:49 -0700 (PDT), Ada novice wrote: > > Would you be kind enough to elaborate on your above comments a little > > more? > Project IMSL as written does not describe any entity to build. It does a > subcomponent of such an entity, like the test project, which defines an > executable. An executable can be built, a component cannot. > When bindings are mature and need to be redistributed, deployed, become a > part of some large project like Linux distribution with it specific > requirements etc, there is a need to pack the bindings code into a > pre-built library, static, shared or both. A project that describes such a > library is compilable, because a library has to be built. A library would > most likely have at least two different projects: > 1. compilable "implementation" used by the library developer to build the > library from the sources. > 2. non-compilable "interface" for library users who use the built library > in their projects. They don't need to compile the sources. They will use > *.ads, *.ali, *.lib/a files instead. > A good thing about Ada and gnatmake/grpbuid is that it is fairly simple to > do these things compared with the horrific make/configure. Thanks. But the library would not be portable to another machine as we need more than the file imslcmath_dll.lib . IMSL runs because it's on my Windows environment path. I hope that I'm understanding you right. As an engineer in another field, it's hard to grasp all that you're saying but I hope with time I'll understand better :). Can you recommend books/publications that discuss similar ideas that you have been mentioning? YC