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 08:32:55 -0700 (PDT)
Date: 2012-07-25T08:32:55-07:00	[thread overview]
Message-ID: <0eb29acc-671b-4a22-b979-e65fe978de23@googlegroups.com> (raw)
In-Reply-To: <f25589ed-a21e-4548-9ada-4d1ede6627c4@googlegroups.com>

Ok, now I have removed my gnat in /usr/gnat and installed both gnat 2011 and 2012 in /usr/local/gnat-2011 and /usr/local/gnat-2012 respectively.

gcc -v now gives:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gnat-2012/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.4/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../src/configure --prefix=/usr/gnat --with-libelf=/caen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-mpc=/caen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-gmp=/caen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-mpfr=/caen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --build=i686-pc-linux-gnu --enable-languages=c,ada,c++ --disable-nls --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libada --enable-checking=release --enable-__cxa_atexit --enable-threads=posix --with-bugurl=URL:mailto:report@adacore.com --with-build-time-tools=/caen.a/gnatmail/gpl-2012/build-caen/x86-linux/gnat/obj
Thread model: posix
gcc version 4.5.4 20120510 for GNAT GPL 2012 (20120509) (GCC)

And my path is:
echo $PATH
/usr/local/gnat-2012/bin:/usr/local/gnat-2011/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

I have given priority to gnat 2012.


Furthermore:

$ gnatls -v

GNATLS GPL 2012 (20120509)
Copyright (C) 1997-2012, Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   /usr/local/gnat-2012/lib/gcc/i686-pc-linux-gnu/4.5.4/adainclude/


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


Project Search Path:
   <Current_Directory>
   /usr/local/gnat-2012/i686-pc-linux-gnu/lib/gnat
   /usr/local/gnat-2012/share/gpr
   /usr/local/gnat-2012/lib/gnat

and 

$ 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



YC



      reply	other threads:[~2012-07-25 15:34 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
2012-07-25 11:58   ` Ada novice
2012-07-25 15:32     ` Ada novice [this message]
replies disabled

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