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,3b06f2a3754e334e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 21 Jun 2006 23:12:11 +0200 From: Gautier User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GPS example fails to compile References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.76.177.207 X-Original-NNTP-Posting-Host: 83.76.177.207 Message-ID: <4499b696$1_2@news.bluewin.ch> X-Trace: news.bluewin.ch 1150924438 83.76.177.207 (21 Jun 2006 23:13:58 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:4884 Date: 2006-06-21T23:12:11+02:00 List-Id: Xcriber51 wrote: [...] > Any patient soul out there to explain how the f--- Bless you! > Ada does binding with > an external language module? (Not the "pragma import" construct, dammit, > but how the whole thing comes together.) This is done at the linker level, the usual way - I suppose you know how it works, since you are fluent in C... > Thanks, patient soul! If you want to see an example, there is a binding to OpenGL (a graphics library) on the link below. There are tons of pragma Import, and you can see how it works with the GNU (Windows, Linux) and the Microsoft linkers. _____________________________________________________ GLOBE_3D -- http://www.mysunrise.ch/users/gdm/g3d.htm NB: For a direct answer, e-mail address on the Web site!