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: 103376,31c8255073b2d349 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!l20g2000yqe.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: ANN: Ada 2005 Math Extensions, 20100901 release Date: Tue, 7 Sep 2010 05:45:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7b062759-02d1-419e-aa8e-892dc6e30397@l20g2000yqe.googlegroups.com> References: <889c1e51-cd27-4e7e-b5ae-b9e2c1c5b644@u6g2000yqh.googlegroups.com> <5c42e8bf-b12d-4c92-9eb6-5b056832352a@l20g2000yqe.googlegroups.com> <513c30f4-55f7-49de-8b17-9f932e726f36@d8g2000yqf.googlegroups.com> <8daa1e04-cf7f-4188-800e-c365a4316903@n3g2000yqb.googlegroups.com> NNTP-Posting-Host: 20.133.0.13 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1283863504 24019 127.0.0.1 (7 Sep 2010 12:45:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Sep 2010 12:45:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l20g2000yqe.googlegroups.com; posting-host=20.133.0.13; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13964 Date: 2010-09-07T05:45:04-07:00 List-Id: On Sep 7, 8:45=A0am, Ada novice wrote: > On Sep 6, 9:49=A0pm, Simon Wright wrote: > > > jonathan writes: > > > Don't worry, I got the same error message, knew I would not be smart > > > enough to fix it, and just replaced all the dots with underscores. No= w > > > my version is named ada_numerics_generic_arrays.adb > > > I wish I understood what it is I didn't say in the README that led you > > both to get into all this grief! > > Well, I didn't read the README file for a start and I was trying to > strip away all files > that use AUnit. And I didn't keep your directory structure. Of course > this is my mistake. > > > As a side-effect, it builds a static library for use in your own > > programs. > > Can we include this library in GPS for use with our own codes? I try > to > include it as a library but I wasn't successful. > > > > > In order to use this library within your own code, you need to use a > > GPR referencing the extensions' GPR, "ada_math_build" [This name is > > subject to change]. Either > > > * say 'with "ada_math_build";' and include > > =A0 /where/ever/gnat-math-extn-YYYYMMDD/src in your ADA_PROJECTS_PATH > > =A0 environment variable; or > > > * say 'with "/where/ever/gnat-math-extn-YYYYMMDD/src/ada_math_build";' > > =A0 (this path can be relative, if you like)." > > I tried the first method. Still, I am not sure what the > ADA_PROJECTS_PATH environment variable is. Can we customize it within > GPS itself? > > Thanks a lot > YC The message I'm (at last) getting from you and Jonathan is that I'm being too clever by half! Will make a release ASAP with file naming that doesn't require library/compiler magic, in other words just include in your source tree as Jonathan did.