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,FREEMAIL_FROM autolearn=ham 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.204.154.76 with SMTP id n12mr5386557bkw.1.1343230476762; Wed, 25 Jul 2012 08:34:36 -0700 (PDT) Path: m12ni23694bkm.0!nntp.google.com!news1.google.com!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 08:32:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0eb29acc-671b-4a22-b979-e65fe978de23@googlegroups.com> References: <7d9fc771-b046-4fe2-a2ec-459664b90c8e@googlegroups.com> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1343230476 17025 127.0.0.1 (25 Jul 2012 15:34:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Jul 2012 15:34:36 +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-25T08:32:55-07:00 List-Id: Ok, now I have removed my gnat in /usr/gnat and installed both gnat 2011 an= d 2012 in /usr/local/gnat-2011 and /usr/local/gnat-2012 respectively. gcc -v now gives: Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/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=3D/usr/gnat --with-libelf=3D/cae= n.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-mpc=3D/ca= en.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-gmp=3D/c= aen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --with-mpfr=3D= /caen.a/gnatmail/gpl-2012/build-caen/x86-linux/libmpfr/install --build=3Di6= 86-pc-linux-gnu --enable-languages=3Dc,ada,c++ --disable-nls --without-libi= conv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libada -= -enable-checking=3Drelease --enable-__cxa_atexit --enable-threads=3Dposix -= -with-bugurl=3DURL:mailto:report@adacore.com --with-build-time-tools=3D/cae= n.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: /usr/local/gnat-2012/lib/gcc/i686-pc-linux-gnu/4.5.4/adainclude/ Object Search Path: /usr/local/gnat-2012/lib/gcc/i686-pc-linux-gnu/4.5.4/adalib/ Project Search Path: /usr/local/gnat-2012/i686-pc-linux-gnu/lib/gnat /usr/local/gnat-2012/share/gpr /usr/local/gnat-2012/lib/gnat and=20 $ 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