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,2b8382e0387f53c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Eigenvalues to find roots of polynomials Date: Mon, 25 Jul 2011 21:22:57 +0100 Organization: A noiseless patient Spider Message-ID: References: <3ec148c9-a033-40a1-bc32-1aa52867478a@e35g2000yqc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="17761"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xueEq4POJASH3680Qjz/unae/WdghDdU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:KGy1DWgRtw12uiesuzRM9Q6xlvI= sha1:d2Q3p1+YEvggt60VdBRMQ1YYScw= Xref: g2news2.google.com comp.lang.ada:21323 Date: 2011-07-25T21:22:57+01:00 List-Id: marius63 writes: [...] See http://sourceforge.net/projects/gnat-math-extn/ for work I did supporting asymmetric real and non-hermitian complex matrices. > -- Build with: > -- gnatmake find_roots -largs /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ > libblas.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/liblapack.dylib You shouldn't need to specify the libraries - which GNAT are you using? On this Mac with GNAT GPL 2011 (built for Snow Leopard), $ gnatmake find_roots gcc -c find_roots.adb find_roots.adb:17:07: warning: variable "M" is never read and never assigned gnatbind -x find_roots.ali gnatlink find_roots.ali $ Even if your Ada can't manage it itself, I'd have thought -largs -llapack -lblas would do.