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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Starting learning ADA Date: Sat, 08 Jun 2019 21:10:33 +0100 Organization: A noiseless patient Spider Message-ID: References: <47f671ea-bd40-4a98-8a34-8e99d94622cb@googlegroups.com> <441bc6de-05c5-4e2f-b601-110e8400cec7@googlegroups.com> <0f5a2a6b-d467-434c-8f3e-0964793e93ef@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="27696fb9a86c0e7aaea158a7d198be6d"; logging-data="31409"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/V6kemcEEH3W57CcATJNVndbayfsm2+Z0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:Ic6HNUX2hTh5lYKY3RRHf8coZBw= sha1:rDgcG8hiMC6C/9UtSwBjlTswoKE= Xref: reader01.eternal-september.org comp.lang.ada:56566 Date: 2019-06-08T21:10:33+01:00 List-Id: joakimds@kth.se writes: > When opening the normal command prompt in Windows 10 and one executes > "gcc --version" it should say it is the GNAT Community 2019 version of > the compiler. You could try that in the Ubuntu Subsystem and I predict > is will say gcc is the FSF version. The other check is "gnatls -v". On this macbook I get ==================== $ gnatls -v GNATLS Community 2019 (20190517-83) Copyright (C) 1997-2019, Free Software Foundation, Inc. Source Search Path: /opt/gnat-ce-2019/lib/gcc/x86_64-apple-darwin17.7.0/8.3.1/rts-native/adainclude Object Search Path: /opt/gnat-ce-2019/lib/gcc/x86_64-apple-darwin17.7.0/8.3.1/rts-native/adalib Project Search Path: /opt/gnat-ce-2019/x86_64-apple-darwin17.7.0/lib/gnat /opt/gnat-ce-2019/x86_64-apple-darwin17.7.0/share/gpr /opt/gnat-ce-2019/share/gpr /opt/gnat-ce-2019/lib/gnat ==================== and I'd expect your Linux version to look very similar, except that the prefix (/opt/gnat-ce-2019) and the machine triplet (x86_64-apple-darwin17.7.0) will of course change for your environment. Note that the last set (Project Search Path) includes $prefix/share/gpr and $prefix/lib/gnat; gnatcoll.gpr is in the first. So you should *not* need to mess with ADA_PROJECT_PATH. I can speak to the Mac environment, make an educated guess about the Linux environment, but not so much about Windows.