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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,508516c114ade8e1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.238.198 with SMTP id vm6mr181247pbc.3.1328754368382; Wed, 08 Feb 2012 18:26:08 -0800 (PST) Path: wr5ni3304pbc.0!nntp.google.com!news1.google.com!postnews.google.com!sw7g2000pbc.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: ada without ada libraries? Date: Wed, 8 Feb 2012 18:11:24 -0800 (PST) Organization: http://groups.google.com Message-ID: <940d924c-2957-44e9-bea0-5859df835bd0@sw7g2000pbc.googlegroups.com> References: <82mx8tttx7.fsf@stephe-leake.org> <7fd2b62d-0801-47e3-921d-e675fcfebcd2@q12g2000yqg.googlegroups.com> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 X-Trace: posting.google.com 1328754368 9250 127.0.0.1 (9 Feb 2012 02:26:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 9 Feb 2012 02:26:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: sw7g2000pbc.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-02-08T18:11:24-08:00 List-Id: On Feb 8, 3:10=A0pm, Patrick wrote: > Thanks Guys! > > I was thinking of intertwining C and ada via import and export pragmas > and the fdump-ada-spec feature. I am just a little mixed up about > whether to write a little C beforehand or to do everything in ada. That makes some sense. Were I you I'd go with the REALLY-THICK-BINDING approach, where you put the C importing (and executing) into a package Body with only nice (read Ada) interfacing in the Spec... using it your user should have no clue C is ever involved.