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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada download Date: Fri, 12 Jan 2018 09:39:06 +0000 Organization: A noiseless patient Spider Message-ID: References: <397e0653-1512-4111-b321-edde0c024bc8@googlegroups.com> <2462e55d-57d1-4753-b3e2-cd0a0b0f28e0@googlegroups.com> <9bedbd9c-94d3-4aaa-ab92-0b2e8648e403@googlegroups.com> <9c4d5a06-086d-41b0-96c8-27fbf1c71b5d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="0294ebd0ba3dd563cb8360ac7c6ecfd2"; logging-data="25715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HRVyAE8SnVPPNsZQTuamt+93r/cMKbWI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:SYjBsosqe/Q8SG4FgGXmMjRitvw= sha1:Xw1YU/Uk/5LJq1XsATm/jlzu0Rg= Xref: reader02.eternal-september.org comp.lang.ada:49881 Date: 2018-01-12T09:39:06+00:00 List-Id: 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