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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19ec107231808fc6 X-Google-Attributes: gid103376,public From: Axel Schmitz-Tewes Subject: Re: SV: Ada und C++ .... installation Date: 1999/06/27 Message-ID: <3775C5B8.D308AF34@uni-bonn.de>#1/1 X-Deja-AN: 494349572 Content-Transfer-Encoding: 7bit References: <3773E04A.94FF9F1A@uni-bonn.de> Organization: RHRZ - University of Bonn (Germany) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-06-27T00:00:00+00:00 List-Id: Sune Falck schrieb: > The gnat and the egcs installation is using the same registry variable > to locate the installation path. > > REGEDIT4 > > [HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation] > "MINGW32"="@GCC" > "GNAT"="@GCC" > "BINUTILS"="@GCC" > "GDBTK_LIBRARY"="C:\\DEV\\GNAT-3.11P\\GDBTCL" > "GCC"="C:\\DEV\\GNAT-3.11P" > > Use regedit to change the value of GCC to the installation path > for egcs and switch back when you want to use gnat. > > One simple way of doing this is to export the registry settings > for LOCAL_MACHINE\SOFTWARE\Free Software Foundation to > a file with regedit, create a second file with the settings for > the other compiler and then just click on the correct reg-file > to select compiler settings. > > One could also create a small utility program to do this. That is the solution! :-). I have writen two two-line vbs scripts ada2cpp.vbsand cpp2ada.vbs which do the necessary correction in the registry. Many thanks for your answer. regards, Axel