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: a07f3367d7,701cccda09aefd03 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!z8g2000prd.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: ada import c function Date: Thu, 30 Apr 2009 13:48:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <6568256f-39cd-4757-a630-fe6e4a9a82fc@l16g2000pra.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1241124489 30210 127.0.0.1 (30 Apr 2009 20:48:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 30 Apr 2009 20:48:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z8g2000prd.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5638 Date: 2009-04-30T13:48:09-07:00 List-Id: On Apr 30, 12:04=A0am, a...@anon.org (anon) wrote: > simon.j.wright > > >> gnat make use_of_import.adb > > =A0 should of been > > =A0 =A0 gnat compile use_of_import.adb > > which is the best way to learn Ada because one reason there are other Ada > systems out there =A0And newbees need to know they must compile then bind > and finally link a program or library, unlike other languages. There's a difference between learning Ada and learning an Ada build system! The Ada addition is the binding process, otherwise I see no difference from a C build using gcc. And a g++ build uses collect2 on at least some systems, which certainly comes in the same place as Ada binding even if it doesn't do quite the same thing.