From: Frank Buss <fb@frank-buss.de>
Subject: Re: question on installing gnat on linux mint
Date: Sun, 3 Sep 2017 12:13:11 +0200
Date: 2017-09-03T12:13:11+02:00 [thread overview]
Message-ID: <oogkjn$7on$1@newsreader4.netcologne.de> (raw)
In-Reply-To: <ooghnu$tsq$1@gioia.aioe.org>
On 09/03/2017 11:24 AM, Nasser M. Abbasi wrote:
>
> My question is, why does it want to install gcc-4.9
> when Linux comes with gcc 5.4 on it? Does this mean gnat 4.9
> is build with earlier gcc? Will installing gnat change/overwrites
> the version of gcc on my system? or does it install its
> own gcc 4.9 somewhere else?
Linux Mint is based on Debian. The gnat packages in Debian are very
outdated, even for the latest Debian release a few weeks ago (e.g. a 2
year old gnat-gps). I had no problems installing it manually from this site:
http://libre.adacore.com
Default installation is /usr/gnat, which doesn't overwrite any installed
C gcc compiler programs.
I wrote a script, /usr/bin/gnat, to run gps:
#!/bin/sh
cd /usr/gnat/bin
./gps
A logical link didn't work, because the gps starter program doesn't find
gps_exe then. Might be possible to add /usr/bin/gnat to the system path
as well.
--
Frank Buss, http://www.frank-buss.de
electronics and more: http://www.youtube.com/user/frankbuss
next prev parent reply other threads:[~2017-09-03 10:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 9:24 question on installing gnat on linux mint Nasser M. Abbasi
2017-09-03 10:13 ` Frank Buss [this message]
2017-09-03 10:17 ` Frank Buss
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox