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,430e73ffe1dca4e9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!news.karotte.org!news.musoftware.de!wum.musoftware.de!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to exit a loop with keyboard input Date: Tue, 13 Apr 2010 22:22:54 +0100 Organization: A noiseless patient Spider Message-ID: References: <176f2831-ce2a-4bb1-9e04-47f662fc7176@q23g2000yqd.googlegroups.com> <20100412181434.dd154269.tero.koskinen@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 13 Apr 2010 21:22:56 +0000 (UTC) Injection-Info: news.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="31357"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TOt39mzW9skxIsITIMTecYl/Un0gjtbY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:5yzElub1M+w2ftyY5Pl9YRvNEnE= sha1:cOhGmWr8Hi9NfK+AWOuf5/WUmZw= Xref: g2news1.google.com comp.lang.ada:9979 Date: 2010-04-13T22:22:54+01:00 List-Id: Jerry writes: > However, both of these builds still contain the old bug which arises > when using > Ada.Numerics.Long_Real_Arrays; > in which the linker can't find the non-existent (on OS X) library > lgnalasup (linear algebra support) requested by i-forbla.adb. I > thought this was fixed a long time ago and if I'm reading the history > correctly it was fixed on Apr 22 07:14:31 2008. I suppose I should > raise this on another thread, however. Same here. $ gnatmake jerry gcc -c jerry.adb gnatbind -x jerry.ali gnatlink jerry.ali ld: library not found for -lgnalasup collect2: ld returned 1 exit status gnatlink: error when calling /opt/gnat-gpl-2009-x86_64/bin/gcc gnatmake: *** link failed. (sorry to take your name in vain, it helps me to keep my ~/tmp code in order) 4.5.0 has a Darwin-specific i-forbla.adb containing OX-------------------------------------------- -- Version for Mac OS X package body Interfaces.Fortran.BLAS is pragma Linker_Options ("-Wl,-framework,vecLib"); end Interfaces.Fortran.BLAS; OX-------------------------------------------- and I just managed to link (just a 'with', no execution) with GNAT GPL 2009 by compiling against this file -- I put it in a subdir called math and said $ gnatmake jerry -a -Imath gcc -gnatpg -c -Imath i-forbla.adb gnatbind -Imath -x jerry.ali gnatlink jerry.ali