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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:ad4:57a6:: with SMTP id g6mr8504789qvx.182.1585922901416; Fri, 03 Apr 2020 07:08:21 -0700 (PDT) X-Received: by 2002:a05:6830:1159:: with SMTP id x25mr6777839otq.110.1585922901190; Fri, 03 Apr 2020 07:08:21 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 3 Apr 2020 07:08:20 -0700 (PDT) In-Reply-To: <8cf791ec-e0b2-4bf4-951e-d83bee67256b@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=68.191.223.106; posting-account=IkfcKQoAAACG1YkW43S7OnbnVk_y5n_N NNTP-Posting-Host: 68.191.223.106 References: <8cf791ec-e0b2-4bf4-951e-d83bee67256b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1c17787a-3134-4c77-8040-422f672a4e7b@googlegroups.com> Subject: Re: Using TDM-GCC with ADAGIDE and GWindows/GNATCOM From: Fionn MacCumhaill Injection-Date: Fri, 03 Apr 2020 14:08:21 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2960 X-Received-Body-CRC: 558104320 Xref: reader01.eternal-september.org comp.lang.ada:58298 Date: 2020-04-03T07:08:20-07:00 List-Id: On Friday, April 3, 2020 at 8:28:09 AM UTC-5, Fionn MacCumhaill wrote: > I have been using the TDM-GCC 32-bit Ada compiler for several years now w= ith the AdaGIDE IDE, which is now showing its age - it uses gnatmake for bu= ilding. TDM-GCC has been stalled at the gcc 5.1 release until quite recentl= y, when a gcc 9.2 release appeared.=20 >=20 > For a long time, every binary gcc release for Windows that I have seen ha= s been configured with --disable-win32-registry. In the gcc 5.1 release, th= e Ada compiler build ignored that option. Almost all of my development proj= ects use GWindows and I have been using a Gwindows tool, gnatreg, which use= s the Windows registry to let the Ada compiler organize directories contain= ing various libraries. I have one which contains a set of highly-specialize= d extensions to GWindows; another one contains Dmitry Kazakov's Simple Comp= onents, and a few others. >=20 > At some point between gcc 5.1 and gcc 9.2, the Ada compiler went consiste= nt with the rest of the gcc compilers and ditched the Windows registry. >=20 > I'm now trying to use environment variables like ADA_INCLUDE_PATH and ADA= _OBJECTS_PATH, which I have created with the same directories that I used w= ith gnatreg, but it appears that I need more than those - my first attempt = to build a program with AdaGIDE failed with the Ada compiler trying unsucce= ssfully to compile pieces of GWindows and GNATCOM into the same directory a= s my program. I'm missing something here, but I'm not sure what it is. Idea= s? Problem is now solved - it's been too long since I had to use environment v= ariables like these; Tweaking ADA_INCLUDE_PATH solved the problem.