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,2aab332eb0011c4d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i28g2000yqa.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx? Date: Wed, 14 Jul 2010 06:15:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5cf5e149-a827-4890-a80b-6ee37109ddca@i19g2000pro.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1279113346 21482 127.0.0.1 (14 Jul 2010 13:15:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 14 Jul 2010 13:15:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i28g2000yqa.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12422 Date: 2010-07-14T06:15:45-07:00 List-Id: 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.