comp.lang.ada
 help / color / mirror / Atom feed
From: Ada novice <shai.lesh@gmx.com>
Subject: Re: How to enable Ada with GCC in linux
Date: Wed, 25 Jul 2012 04:25:32 -0700 (PDT)
Date: 2012-07-25T04:25:32-07:00	[thread overview]
Message-ID: <e6397956-51bb-4347-b3fb-9ac087e10dec@googlegroups.com> (raw)
In-Reply-To: <m2zk6op1va.fsf@nidhoggr.home>

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:
   <Current_Directory>
   /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adainclude/


Object Search Path:
   <Current_Directory>
   /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adalib/


Project Search Path:
   <Current_Directory>
   /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 "doinstall" script in the GNAT GPL 2011 installation. Anyway, if I now want to remove the GNAT GPL 2011 and put it in the right folder say /usr/local/gnat-2011 and subsequently have GNAT 2012 in /usr/local/gnat-2012, will a 

rm -rf/usr/gnat suffice?


Yes it would be wise to have a good installation rather than one which would require fixes later on.


Thanks,
YC






  reply	other threads:[~2012-07-26 14:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  9:06 How to enable Ada with GCC in linux Ada novice
2012-07-25  9:41 ` Georg Bauhaus
2012-07-25  9:51 ` Brian Drummond
2012-07-25 10:03   ` Nasser M. Abbasi
2012-07-25 10:32 ` Simon Wright
2012-07-25 11:25   ` Ada novice [this message]
2012-07-25 11:58   ` Ada novice
2012-07-25 15:32     ` Ada novice
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox