comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Ada download
Date: Mon, 8 Jan 2018 12:34:01 -0800 (PST)
Date: 2018-01-08T12:34:01-08:00	[thread overview]
Message-ID: <d0ce8577-57de-4080-83aa-c970cc370bd0@googlegroups.com> (raw)
In-Reply-To: <194af3eb-d3f5-4587-a568-509e19a4971b@googlegroups.com>

On Monday, January 8, 2018 at 10:53:14 AM UTC-8, sophia....@gmail.com wrote:
>  
> But how do I use the program? Do I have gps now? If yes, how do I open it? 
> I am so sorry for all these questions, I just really want to learn  programming and we're using Ada at our school
>

I have not used MacOS for a long time. Thus, my knowledge could be rusted. 

Most of your questions can be answered by understanding MacOS, less with GNAT. GPS will be available once GNAT is installed. But, you need to tell the OS where to look for. Thus, a shell script needs to be created. Below is the content of my shell script (Bourne shell), gnat-2017.bash, for my Red Hat Enterprise Linux.

  PATH=/home/voax/GNAT/gnat-gpl-2017/bin:$PATH
  export PATH

For your case, it should be similar as

  PATH="/usr/local/gnat2017/bin:$PATH"
  export PATH

The last step is to invoke it assuming that it is located at /home/adampour and its name is adampour-gnat-2017.bash

  ~adampour/adampour-gnat-2017.bash

You are ready to enter your command, gps &, from anywhere. 

I hope it helps.

Anh Vo

 


  parent reply	other threads:[~2018-01-08 20:34 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 [this message]
2018-01-08 21:29             ` Simon Wright
2018-01-12  0:07               ` sophia.adampour
2018-01-12  9:39                 ` Simon Wright
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