comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx?
Date: Wed, 14 Jul 2010 06:15:45 -0700 (PDT)
Date: 2010-07-14T06:15:45-07:00	[thread overview]
Message-ID: <fd76b8f5-4b9a-4062-81d5-a8d2d03aed1f@i28g2000yqa.googlegroups.com> (raw)
In-Reply-To: 5cf5e149-a827-4890-a80b-6ee37109ddca@i19g2000pro.googlegroups.com

Jerry wrote on comp.lang.ada:
> The PLplot developers need a bit of help with automating their build
> process with regard to Ada (GNAT only). They use cmake. As the person
> who wrote the Ada binding, I've been asked to get the information.
>
> Currently, cmake has an Ada 2005 flag which if set, with-s and use-s
> Ada.Numerics.Long_Real_Arrays which was added in Ada 2005. If the flag
> is not set, the binding source code is automatically modified a little
> bit so that the 2005-specific stuff is not needed. (The binding only
> needs the Vector and Matrix declarations, so this is a lot of work for
> such a small benefit, but that's the way things are right now.)
>
> If Ada.Numerics.Long_Real_Arrays is used, it needs to link to lapack
> and blas which the PLplot cmake process can be made to handle.
>
> So the questions are:
>
> (1) What is the earliest version of GNAT that requires lapack and blas
> if Ada.Numerics.Long_Real_Arrays is referenced? I think it might be
> 4.3.

Yes, it is 4.3.

> (2) Is there an earlier version that has the limited capabilities
> required by the Ada binding, specifically, only the declarations for
> type Real_Vector is array (Integer range <>) of Real'Base;
> type Real_Matrix is array (Integer range <>, Integer range <>)
> but which does not require linking lapack and blas?

GCC 4.2, I think.

--
Ludovic Brenta.



  parent reply	other threads:[~2010-07-14 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13  2:34 Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx? Jerry
2010-07-13  4:12 ` John B. Matthews
2010-07-14 13:00   ` Ada novice
2010-07-15  7:46     ` Jerry
2010-07-15 11:16       ` Ludovic Brenta
2010-07-14 13:15 ` Ludovic Brenta [this message]
2010-07-15  7:48 ` Jerry
replies disabled

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