From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr2.eu1.usenetexpress.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Subject: Re: Trying to install FSF called for failure in Adacore community Newsgroups: comp.lang.ada References: <5f27c78b$0$1452$e4fe514c@news.kpn.nl> From: ldries46 Date: Mon, 3 Aug 2020 16:17:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Message-ID: <5f281c7a$0$1478$e4fe514c@news.kpn.nl> NNTP-Posting-Host: fbbe3c38.news.kpn.nl X-Trace: G=dqxHatlE,C=U2FsdGVkX1+Y/ewuXtgv8KUYEyujW5iGRWpXZ35/H3+N80wg8QIjZwHmVvofPVcRqc8xPQSNbdcphS+h0n48prRv0jEUguW45u6Sc16Ufkg= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:59643 List-Id: Op 3-8-2020 om 10:30 schreef Simon Wright: > ldries46 writes: > >> gprbuild -d -PD:\ada\project\Glade2Ada\Glade2Ada.gpr >> D:\ada\project\Glade2Ada\Glade2Ada.adb >> Bind >>    [gprbind]      glade2ada.bexch >>    [Ada]          glade2ada.ali >> fatal error: file glib.ali is incorrectly formatted >> make sure you are using consistent versions of gcc/gnatbind >> 97.  G a e >>       | >> gprbind: invocation of gnatbind failed >> gprbuild: unable to bind glade2ada.adb > Did you try gprbuild -f (force recomilations)? > > It might help to find glib.ali - the first line says which compiler > release was used to compile it, e.g. > > FSF GCC 10: > V "GNAT Lib v10" > > GNAT CE 2020: > V "GNAT Lib v2020" I first tried to run "gprbuild -f -d -PD:\ada\project\Glade2Ada\Glade2Ada.gpr" in a cmd window, that didn't work because the system did not recognize the "gprbuild" command, but it triggered me to search into the various settings of the environment  and I found Settings/Toolchains where the TDM-GCC-64 directory was mentioned. I realised that that  directory was also a part op the FSF exercise and deleted it. After that the problem was over. Thanks for tour hint.