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!postnews.google.com!u13g2000vbo.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: ANN: Ada 2005 Math Extensions, 20100901 release Date: Wed, 22 Sep 2010 04:50:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <95af4414-59b7-4567-9f88-ec808d54e6f0@u13g2000vbo.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> NNTP-Posting-Host: 130.240.232.147 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1285156218 3902 127.0.0.1 (22 Sep 2010 11:50:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Sep 2010 11:50:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u13g2000vbo.googlegroups.com; posting-host=130.240.232.147; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14187 Date: 2010-09-22T04:50:17-07:00 List-Id: On Sep 6, 9:49=A0pm, Simon Wright wrote: > 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 asked about this earlier but didn't get an answer. Hopefully, someone will answer now. If I want to use the library with my own code, then how do I proceed? I tried the first solution (from above) but I don't know how to include /where/ever/gnat-math-extn-YYYYMMDD/ src in the ADA_PROJECTS_PATH environment variable. As for the second solution, I understand that it can be either a / or a \ depending whether it's Windows or Linux. I have Windows and I tried /. I can't get this to work. And how do I put an absolute path? The GNAT compiler expects an identifier after with and it finds " and complains. Thanks a lot...