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 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-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.ada Subject: Re: ANN: Ada 2005 Math Extensions, 20100901 release Date: Fri, 03 Sep 2010 09:48:19 -0400 Organization: The Wasteland Message-ID: References: <889c1e51-cd27-4e7e-b5ae-b9e2c1c5b644@u6g2000yqh.googlegroups.com> NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: g2news1.google.com comp.lang.ada:13931 Date: 2010-09-03T09:48:19-04:00 List-Id: In article , Simon Wright wrote: > "John B. Matthews" writes: > > > For future reference, here is the patch: > > > > > > Interesting. On Mac OS X, GNAT GPL 2010 i-forbla.adb contains > > package body Interfaces.Fortran.BLAS is > pragma Linker_Options ("-lgnala"); > pragma Linker_Options ("-lm"); > pragma Linker_Options ("-Wl,-framework,vecLib"); > end Interfaces.Fortran.BLAS; > > > The compiler options from ada_math_build.gpr should work, e.g. > > gnatmake -a or gcc -c -gnatpg. Finally, copy the .ali and .o to > > your Ada library path, `gnatls -v`. > > I don't see why you'd do this 'by hand' rather than letting > ada_math_build.gpr do the heavy lifting? Good point. I got used to doing it manually while nursing GNAT 4.3.4. I'm slowly coming to terms with GPS, but it won't stay off my lawn. :-) > If you do do this, (a) make sure the .ali is read-only, (b) copy > ada-numerics-generic_arrays.ad[bs] too (to the source search path, of > course). > > I'm having 4th or 5th thoughts about package naming. Perhaps I should > make it Ada_Numerics.Generic_Arrays? That way future compiler > releases won't get sniffy about this non-ARM package. OTOH, it isn't > broken now ... Difficult call. I implemented Ada.Numerics.Generic_Complex_Arrays. Generic_Roots according to the (proposed) specification, but I don't know how hard it would be to move. -- John B. Matthews trashgod at gmail dot com