From: Simon Wright <simon@pushface.org>
Subject: Re: Ada download
Date: Fri, 12 Jan 2018 09:39:06 +0000
Date: 2018-01-12T09:39:06+00:00 [thread overview]
Message-ID: <lya7xjbemd.fsf@pushface.org> (raw)
In-Reply-To: df5d7e78-f36a-4d1c-98ae-320a0c671399@googlegroups.com
sophia.adampour@gmail.com writes:
> Thank you! This shows up when I say
>
> $ gps &:
>
> Adampours-MacBook-Pro:~ adampour$ gps &
> [1] 6390
> Adampours-MacBook-Pro:~ adampour$ -bash: gps: command not found
>
> So my download is not correct?
No, it just means that gps isn't on your PATH.
Setting up your PATH on macOS is a whole other question! If you look
into the GPS.app I uploaded (*from the terminal*) you'll see
$ cat /where/ever/you/put/it/GPS.app/Contents/MacOS/gps
#!/bin/sh
export PATH=/usr/local/gnat2017/bin:$PATH
exec /usr/local/gnat2017/bin/gps
and in order not to have to do the "export" line every time you start a
new Terminal you need to copy that line to the end of one of the startup
scripts, probably ~/.bash_profile_common .
> And I've now downloaded the GPS you linked to, thank you very much!
You're welcome.
> Btw. Does anyone know about any tutorials on how to use this GPS with
> Mac Terminal? :-)
(a.k.a. "from the command line")
GPS is an IDE (Interactive Develpoment Environment). When it wants to do
a compilation it calls up GNAT's command line tools to do the job.
If you want to compile a file e.g. hello.adb from the command line, then
(assuming your PATH is set up as above!) you say
$ gnatmake hello.adb
next prev parent reply other threads:[~2018-01-12 9:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-06 0:54 Ada download sophia.adampour
2018-01-06 11:54 ` Brian Drummond
2018-01-06 12:42 ` sophia.adampour
2018-01-06 13:36 ` Simon Wright
2018-01-06 19:17 ` sophia.adampour
2018-01-06 20:05 ` Simon Wright
2018-01-08 12:21 ` sophia.adampour
2018-01-08 18:53 ` sophia.adampour
2018-01-08 20:13 ` Dennis Lee Bieber
2018-01-08 20:34 ` Anh Vo
2018-01-08 21:29 ` Simon Wright
2018-01-12 0:07 ` sophia.adampour
2018-01-12 9:39 ` Simon Wright [this message]
2018-01-14 16:08 ` sophia.adampour
2018-01-14 16:12 ` sophia.adampour
2018-01-14 18:03 ` Simon Wright
2018-01-15 18:42 ` sophia.adampour
2018-01-15 19:13 ` Dennis Lee Bieber
2018-01-15 20:16 ` Simon Wright
2018-01-06 19:21 ` sophia.adampour
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox