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,575dfcf6488662de X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!news-FFM2.ecrc.net!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Libraries written in Ada Date: Mon, 22 Nov 2004 21:25:08 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <18687975.p80OmDsB1I@linux1.krischik.com> <1464020.dFWPVBaaRG@linux1.krischik.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1101158708 17398 134.91.1.34 (22 Nov 2004 21:25:08 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 22 Nov 2004 21:25:08 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:6339 Date: 2004-11-22T21:25:08+00:00 List-Id: Thomas Lotze wrote: : And even though it is thus possible to have an Ada package which doesn't : need a runtime environment, While it is possible to write Ada programs that do not need a runtime system, it is probably misleading to say that because there is a pragma Pure, a package needs no runtime environment (whatever is meant by the term). : Sure, but I'd like to know what implications my choice of language has for : using the library I want to write before I lean back and feel happy about : leaving these details to the language. A good place to look for an answer is the compiler documentation. For GNAT, you will find sections about creating DLLs in Ada (and shared libraries). In particular, there is "Binding with Non-Ada Main Programs". ObjectAda allows the creation of DLLs as well. -- Georg Bauhaus