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: a07f3367d7,aa21646068c11fac X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!e21g2000vbl.googlegroups.com!not-for-mail From: Harry Tucker Newsgroups: comp.lang.ada Subject: Re: Installing MinGW and testing it out I have a problem. Date: Thu, 20 May 2010 17:27:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <36255937-19fd-4e9b-9b7d-1898d4880eab@e21g2000vbl.googlegroups.com> References: <5d0323a2-3639-4e4f-88b0-a0c58b41761b@k31g2000vbu.googlegroups.com> NNTP-Posting-Host: 68.94.87.223 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1274401664 15705 127.0.0.1 (21 May 2010 00:27:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 21 May 2010 00:27:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e21g2000vbl.googlegroups.com; posting-host=68.94.87.223; posting-account=gm6zjwoAAADRUx8sKB8rAyyVV-bSRk9M User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11831 Date: 2010-05-20T17:27:43-07:00 List-Id: On May 20, 1:44=A0pm, Yannick Duch=EAne (Hibou57) wrote: > Le Thu, 20 May 2010 20:23:16 +0200, Harry Tucker =A0 > a =E9crit: > > ... > I use MSys too, and the tip of renaming the directory containing the =A0 > compiler which is not to be used, works nice here. I can't ensure this = =A0 > will work for you too, however, can you try and tell about the result ? > > -- > There is even better than a pragma Assert: a SPARK --# check. Tried that and it didn't help. In either case I have WinGW\Bin set in my $PATH before the GNAT\bin entry so it would be searched first. Also while both libs are in the $PATH they have differing names so there shouldn't be a conflict. GPS works well either way. Thanks for the info. > Then, MinGW is based on GCC, and GCC on Window may *or may not* use the > Windows registry for its configuration, depending on one dedicated build > option. As much as you can, or if you are not afraid to build your own if > needed, try to use a MinGW with a GCC which does not make use of the > registry, in order to avoid conflicts. I just downloaded the MinGW manually and installed it one package at a time. I didn't make any entries into my registry. Do you know how I can determine if I have the wrong compiler or need to make an entry in my registry? PS C:\Users\Harry> gnatmake --version GNATMAKE 4.5.0 Copyright (C) 1995-2010, Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. PS C:\Users\Harry> gcc --version gcc.exe (GCC) 4.5.0 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Harry