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=-0.6 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,1bee490c6c78dfa4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.182.77 with SMTP id cb13mr1332826qab.5.1343313668618; Thu, 26 Jul 2012 07:41:08 -0700 (PDT) Received: by 10.66.88.5 with SMTP id bc5mr1784535pab.11.1343313543994; Thu, 26 Jul 2012 07:39:03 -0700 (PDT) Path: a15ni105485768qag.0!nntp.google.com!q21no14986971qas.0!news-out.google.com!b9ni64816727pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.visyn.net!visyn.net!news.szaf.org!news.albasani.net!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.178.16.MISMATCH!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: How to enable Ada with GCC in linux Date: Wed, 25 Jul 2012 04:25:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <7d9fc771-b046-4fe2-a2ec-459664b90c8e@googlegroups.com> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1343215637 29627 127.0.0.1 (25 Jul 2012 11:27:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Jul 2012 11:27:17 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.11.21.204; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-25T04:25:32-07:00 List-Id: Thanks all for your inputs. I will answer your queries for $ echo $PATH, $= gnatls -v and $ gnatgcc -v: 1. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/gnat/bin 2. $ gnatls -v GNATLS GPL 2011 (20110419) Copyright (C) 1997-2011, Free Software Foundation, Inc. Source Search Path: /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adainclude/ Object Search Path: /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adalib/ Project Search Path: /usr/gnat/i686-pc-linux-gnu/lib/gnat /usr/gnat/share/gpr /usr/gnat/lib/gnat 3. $ gnatgcc -v The program 'gnatgcc' is currently not installed. To run 'gnatgcc' please = ask your administrator to install the package 'gnat' gnatgcc: command not found Yes I installed gnat in /usr/gnat. This was the default path in the "doinst= all" script in the GNAT GPL 2011 installation. Anyway, if I now want to rem= ove the GNAT GPL 2011 and put it in the right folder say /usr/local/gnat-20= 11 and subsequently have GNAT 2012 in /usr/local/gnat-2012, will a=20 rm -rf/usr/gnat suffice? Yes it would be wise to have a good installation rather than one which woul= d require fixes later on. Thanks, YC