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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6c1086e26fe658e1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to find a native GNAT compiler? Date: Tue, 16 Aug 2011 17:33:49 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <7e3d5d01-a3ad-4755-9984-86f6b9566c65@s20g2000yqc.googlegroups.com> <4E46A5CD.4000105@obry.net> <19dc6ebe-b502-4276-b62c-cb0dd0147506@q1g2000vbj.googlegroups.com> NNTP-Posting-Host: SptRn4/nB6/EZ1vi/h8RlA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:vnmNoHfa+oUlFkmNm9ELPv/y98w= Xref: g2news2.google.com comp.lang.ada:21623 Date: 2011-08-16T17:33:49+01:00 List-Id: thymallus1@free.fr writes: > On 13 août, 18:26, Pascal Obry wrote: >> You probably need to give more details. The native Ada compiler is GNAT >> GPL 2011. So you should have it. Is it really on your PATH? >> >> Pascal. >> >> -- >> >> --|------------------------------------------------------ >> --| Pascal Obry                           Team-Ada Member >> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE >> --|------------------------------------------------------ >> --|    http://www.obry.net -  http://v2p.fr.eu.org >> --| "The best way to travel is by means of imagination" >> --| >> --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B > > You are right. I previously installed GPS 2010 in D:\GPS-2010; and I > installed the downloaded GPS-2011 in D:\GPS-2011. There were remnants > of 2010 forgotten in the path. I cleaned this mess and I put in the > path the directory containing gnat1.exe. Then I run again the win32ada > installer. However, I got the same message ("Setup couldn't find a > native Ada compiler on your system"). I decided to bypass this > warning, and "Performing automatic installation using compiler in D: > \GPS-2011" was displayed until it ends up by "installation completed". > Thank you for your help. > Phil. So you are OK now? For future reference -- the directory that should be in your path is the one containing gcc.exe, gnatmake.exe. gcc.exe knows how to find the compiler internals such as gnat1.exe it needs relative to itself.