comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: ANN: Ada 2005 Math Extensions, 20100901 release
Date: Fri, 03 Sep 2010 09:48:19 -0400
Date: 2010-09-03T09:48:19-04:00	[thread overview]
Message-ID: <nospam-B4273A.09481903092010@news.aioe.org> (raw)
In-Reply-To: m2y6bjmkr4.fsf@pushface.org

In article <m2y6bjmkr4.fsf@pushface.org>,
 Simon Wright <simon@pushface.org> wrote:

> "John B. Matthews" <nospam@nospam.invalid> writes:
> 
> > For future reference, here is the patch:
> >
> > <http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01623.html>
> 
> 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
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2010-09-03 13:48 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 20:13 ANN: Ada 2005 Math Extensions, 20100901 release Simon Wright
2010-09-02 15:40 ` Ada novice
2010-09-02 22:12   ` jonathan
2010-09-03  2:08     ` John B. Matthews
2010-09-03  5:58       ` Simon Wright
2010-09-03 13:48         ` John B. Matthews [this message]
2010-09-03 23:32       ` jonathan
2010-09-04 11:12         ` Ada novice
2010-09-04 15:23           ` Simon Wright
2010-09-04 17:03             ` Simon Wright
2010-09-04 17:03             ` Ada novice
2010-09-04 18:19               ` Simon Wright
2010-09-05  0:32           ` jonathan
2010-09-05 11:38             ` Ada novice
2010-09-07 16:01               ` jonathan
2010-09-07 17:16                 ` Nasser M. Abbasi
2010-09-06 19:49             ` Simon Wright
2010-09-06 21:04               ` jonathan
2010-09-07  7:45               ` Ada novice
2010-09-07 12:45                 ` sjw
2010-09-22 11:50               ` Ada novice
2010-09-22 12:08                 ` AdaMagica
2010-09-22 12:49                   ` Ada novice
2010-09-23 20:26                 ` Simon Wright
2010-09-24 10:18                   ` Ada novice
2010-09-28 20:46                     ` Ada novice
2010-10-02 18:29                       ` Simon Wright
2010-10-02 20:51                         ` Ada novice
2010-10-02 22:27                           ` Nasser M. Abbasi
2010-10-03 11:14                             ` Brian Drummond
2010-10-04 19:17                             ` Simon Wright
2010-09-07 12:56             ` sjw
2010-09-07 15:51               ` jonathan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox