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,73a6dbe06e1250ce X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!u12g2000prd.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: gnatmake: "ada.numerics.real_arrays" is not a predefined library unit Date: Mon, 21 Apr 2008 06:46:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2c24b560-608c-4a10-a64c-7dff14b19e21@u12g2000prd.googlegroups.com> References: <480c8879$0$4768$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1208785575 11040 127.0.0.1 (21 Apr 2008 13:46:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 21 Apr 2008 13:46:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u12g2000prd.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:21014 Date: 2008-04-21T06:46:15-07:00 List-Id: Georg Bauhaus wrote: > Also, I'd consider getting Debian (or Ubuntu); Thanks; I really appreciate this but in this particular area, Debian is probably no better than any other distribution. You see, the GNAT implementation of Annex G is, essentially, a binding to LAPACK. The relevant units (Ada.Numerics.*) are in a static library called libgnala.a (GNAT Linear Algebra) which is separate from libgnat.a. Moreover, the upstream Makefile does not build a shared version of libgnala.a. So, if someone wants to use Annex G you must: - build with "gnatmake -static" - link with libgnala.a - link with LAPACK It's been in the back of my mind for a few months that I should build a shared libgnala.so, package it separately from libgnat-4.3.so, and arrange for it to depend on lapack. Patches to that effect are, of course, welcome and will be gratefully accepted. To the OP: this libgnala.a only appeared in GCC 4.3 released in January 2008. If SuSE ships anything older than that, you must upgrade your compiler if you want to take advantage of Annex G. -- Ludovic Brenta.