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,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!aioe.org!not-for-mail From: "John B. Matthews" Newsgroups: comp.lang.ada Subject: Re: How to exit a loop with keyboard input Date: Thu, 15 Apr 2010 20:44:41 -0400 Organization: The Wasteland Message-ID: References: <176f2831-ce2a-4bb1-9e04-47f662fc7176@q23g2000yqd.googlegroups.com> <20100412181434.dd154269.tero.koskinen@iki.fi> <780f0643-3c51-4cc6-827e-3fd68d477423@x12g2000yqx.googlegroups.com> NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: g2news1.google.com comp.lang.ada:10004 Date: 2010-04-15T20:44:41-04:00 List-Id: In article <780f0643-3c51-4cc6-827e-3fd68d477423@x12g2000yqx.googlegroups.com>, Jerry wrote: > On Apr 14, 9:08 pm, "John B. Matthews" wrote: > > In article > > , > > > >  Jerry wrote: > > > Awesome. In the past I discovered that if I delete the inappropriate > > > linker pragma in i-forbla.adb and link with -largs to the BLAS and > > > LAPACK libraries in the OS X frameworks that I could work around this > > > problem. But this is better. Following your lead, I moved the newly- > > > made i-forbla.o and i-forbla.ali into > > > > > /opt/gnat-gpl-2009/lib/gcc/i386-apple-darwin9.7.0/4.3.4/adalib > > > > For convenience, I wrote a little makefile to build and install a > > modified i-forbla.adb, et al. > > > > > > Hmmm. I couldn't find it on that page. Sorry, it's in the .tgz in numeric/numerics/makefile: # Ada.Numerics Makefile # # Author: John B. Matthews, Gem City Software # Distribution: GMGPL # Last Modified: October 2007 # PREFIX = /usr/local/ada-4.3/lib/gcc/i686-apple-darwin9/4.3.4 OPTS = -a -k -O2 ADAINC = $(PREFIX)/adainclude ADALIB = $(PREFIX)/adalib SOURCE = $(wildcard *.ad[sb]) UNITS = $(basename $(wildcard *.ads)) ALIS = $(wildcard *.ali) OBJS = $(wildcard *.o) .PHONY: all install uninstall clean test all: gnatmake $(OPTS) $(UNITS) install: cp $(SOURCE) $(ADAINC)/ cp *.ali $(ADALIB)/ cp *.o $(ADALIB)/ uninstall: @for file in $(SOURCE); do ${RM} $(ADAINC)/$$file; done @for file in $(ALIS); do ${RM} $(ADALIB)/$$file; done @for file in $(OBJS); do ${RM} $(ADALIB)/$$file; done clean: ${RM} *.ali *.o test: @echo "Source files: $(SOURCE)" @echo "Compilation units: $(UNITS)" @for file in $(SOURCE); do ls $(ADAINC)/$$file; done @for file in $(ALIS); do ls $(ADALIB)/$$file; done @for file in $(OBJS); do ls $(ADALIB)/$$file; done -- John B. Matthews trashgod at gmail dot com