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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: Using TDM-GCC with ADAGIDE and GWindows/GNATCOM Date: Wed, 8 Apr 2020 14:13:25 +0200 Organization: A noiseless patient Spider Message-ID: References: <8cf791ec-e0b2-4bf4-951e-d83bee67256b@googlegroups.com> <1c17787a-3134-4c77-8040-422f672a4e7b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 8 Apr 2020 12:13:26 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="12f1f4c7af742fd5043f52a03d8a2865"; logging-data="28708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+evlXE2b7IuYT3ECAMKuWL" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 Cancel-Lock: sha1:vWbxVn4LIY0uYPMPK12z1FKKBRk= In-Reply-To: <1c17787a-3134-4c77-8040-422f672a4e7b@googlegroups.com> Content-Language: sv Xref: reader01.eternal-september.org comp.lang.ada:58326 Date: 2020-04-08T14:13:25+02:00 List-Id: Den 2020-04-03 kl. 16:08, skrev Fionn MacCumhaill: >> 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 with 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 unsuccessfully to compile pieces of GWindows and GNATCOM into the same directory as my program. I'm missing something here, but I'm not sure what it is. Ideas? You might want to create empty .ali files in the directories where you want the .o files and then use flag -i to gnatmake. > > Problem is now solved - it's been too long since I had to use environment variables like these; Tweaking ADA_INCLUDE_PATH solved the problem. > ok, good -- Björn