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!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!.POSTED.xdsl-213-196-221-111.netcologne.de!not-for-mail From: Frank Buss Newsgroups: comp.lang.ada Subject: Re: question on installing gnat on linux mint Date: Sun, 3 Sep 2017 12:13:11 +0200 Organization: news.netcologne.de Distribution: world Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Sep 2017 10:13:11 +0000 (UTC) Injection-Info: newsreader4.netcologne.de; posting-host="xdsl-213-196-221-111.netcologne.de:213.196.221.111"; logging-data="7959"; mail-complaints-to="abuse@netcologne.de" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:47902 Date: 2017-09-03T12:13:11+02:00 List-Id: 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