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,aa21646068c11fac X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Installing MinGW and testing it out I have a problem. Date: Fri, 21 May 2010 04:07:42 +0200 Organization: Ada At Home Message-ID: References: <5d0323a2-3639-4e4f-88b0-a0c58b41761b@k31g2000vbu.googlegroups.com> <36255937-19fd-4e9b-9b7d-1898d4880eab@e21g2000vbl.googlegroups.com> NNTP-Posting-Host: sVhUfbwyNmEklRD/bu2AWA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11834 Date: 2010-05-21T04:07:42+02:00 List-Id: Le Fri, 21 May 2010 02:27:43 +0200, Harry Tucker = a =C3=A9crit: > Do you know how I > can determine if I have the wrong compiler or need to make an entry in= > my registry? I've just seek for informations at the source. First, GNAT claims to not make use of the registry http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Using-GNAT-on-Windows.html sa= ys > No components of the GNAT toolset use any entries in the Windows > registry. The only entries that can be created are file associations > and PATH settings, provided the user has chosen to create them at > installation time, as well as some minimal book-keeping information > needed to correctly uninstall or integrate different GNAT products. While I have a serious doubt about it... (or may be this was with older = = versions) Then, the registry key used by GCC, when it use it, is HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\key where =E2=80=9Ckey=E2=80=9D is the GCC version number. http://gcc.gnu.org/install/configure.html says > --disable-win32-registry > > The --enable-win32-registry option enables Microsoft Windows-hosted > GCC to look up installations paths in the registry using the > following key: > > HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\key > > key defaults to GCC version number, and can be overridden by the > --enable-win32-registry=3Dkey option. Vendors and distributors who use= > custom installers are encouraged to provide a different key, perhaps > one comprised of vendor name and GCC version number, to avoid > conflict with existing installations. This feature is enabled by > default, and can be disabled by --disable-win32-registry option. > This option has no effect on the other hosts. Can you see something meaningful there ? --enable-win32-registry is the default option, as far as I remember. You= = can check if --disable-win32-registry or --enable-win32-registry was giv= en = as a build option, with this command: gcc -v with a minus =E2=80=9Cv=E2=80=9D. This displays configuration options us= ed to build GCC. If this does not help, will seek for other hypotheses ;) -- = There is even better than a pragma Assert: a SPARK --# check.