comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: How to exit a loop with keyboard input
Date: Thu, 15 Apr 2010 20:44:41 -0400
Date: 2010-04-15T20:44:41-04:00	[thread overview]
Message-ID: <nospam-74FB98.20444115042010@news.aioe.org> (raw)
In-Reply-To: 780f0643-3c51-4cc6-827e-3fd68d477423@x12g2000yqx.googlegroups.com

In article 
<780f0643-3c51-4cc6-827e-3fd68d477423@x12g2000yqx.googlegroups.com>,
 Jerry <lanceboyle@qwest.net> wrote:

> On Apr 14, 9:08 pm, "John B. Matthews" <nos...@nospam.invalid> wrote:
> > In article
> > <cde1ed80-fcd9-430d-bb96-07556e586...@30g2000yqi.googlegroups.com>,
> >
> >  Jerry <lancebo...@qwest.net> 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.
> >
> > <http://home.roadrunner.com/~jbmatthews/misc/groots.html>
> 
> 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
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2010-04-16  0:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12  4:12 How to exit a loop with keyboard input Jerry
2010-04-12  8:50 ` Georg Bauhaus
2010-04-12  9:21   ` Manuel Collado
2010-04-12 10:36 ` Jerry
2010-04-12 13:59   ` John McCormick
2010-04-13 19:38     ` Jerry
2010-04-12 15:14   ` Tero Koskinen
2010-04-12 16:16     ` John B. Matthews
2010-04-12 20:04     ` Simon Wright
2010-04-13 19:51       ` Jerry
2010-04-13 21:22         ` Simon Wright
2010-04-15  3:39           ` Jerry
2010-04-15  4:08             ` John B. Matthews
2010-04-15 18:51               ` Jerry
2010-04-16  0:44                 ` John B. Matthews [this message]
2010-04-16  4:43                   ` Simon Wright
2010-04-16 14:03                     ` John B. Matthews
2010-04-15 19:22             ` Simon Wright
2010-04-16 10:25               ` Jerry
2010-04-12 20:57 ` Alex Mentis
2010-04-12 22:51   ` Jerry
2010-04-16  0:06     ` BrianG
2010-04-16  7:23       ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox