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: a07f3367d7,6b26adc021beff24 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!n4g2000vba.googlegroups.com!not-for-mail From: "vincent.diemunsch@gmail.com" Newsgroups: comp.lang.ada Subject: Re: Ada binding to GMP and MPFR Date: Thu, 28 May 2009 13:23:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <72dd0e4d-1378-4cca-a72f-637f83f21686@e20g2000vbc.googlegroups.com> <4deb49a5-6d19-49dd-a7a8-ceed7adcb661@r3g2000vbp.googlegroups.com> <9fb53bdb-eb6a-4f59-8e8f-988071c07b5e@u9g2000pre.googlegroups.com> <0d5120bf-7581-4d4b-bdb4-e9d758e3a963@z5g2000yqn.googlegroups.com> NNTP-Posting-Host: 79.87.131.179 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1243542188 11743 127.0.0.1 (28 May 2009 20:23:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 May 2009 20:23:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n4g2000vba.googlegroups.com; posting-host=79.87.131.179; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; fr-fr) AppleWebKit/528.18.1 (KHTML, like Gecko) Version/4.0 Safari/528.17,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6085 Date: 2009-05-28T13:23:07-07:00 List-Id: On 28 mai, 21:41, "John B. Matthews" wrote: > In article > , > > =A0"vincent.diemun...@gmail.com" wrote: > > [...] > > > > > I have now added the files in the svn source tree ! > > It's visible now. > > > I will add a little comment for Mac OS X users. > > Excellent! > > > I still have a little trouble in my sample program for the > > "translation" of the C sample program, with the function mpfr_out_str > > BUT I find the example of the Thick Ada Binding quite convincing : > > Looks good. I saw only two anomalies: > > 1) In mpfr_example.adb, line 75 should perhaps invoke New_Line, rather > than Skip_Line. > > 2) Inmpfr.ads, line 686, I had to specify a different external name: > > =A0 =A0pragma Import (C, mpfr_out_str, "__gmpfr_out_str"); > > -- > John B. Matthews > trashgod at gmail dot com > Thanks John for your help ! ;-) I have corrected the sources and added some little improvements. Vincent