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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Inspirels Ada on cortex tutorial linker issue Date: Tue, 30 Aug 2016 12:33:42 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <24d4ffc3-3915-4102-96ae-68d11d881443@googlegroups.com> <2efe4d01-4cd4-4aea-bc54-98ea5f26ec8a@googlegroups.com> <2cf07aa6-9cbb-44bc-8042-601c57c85457@googlegroups.com> <328fa4a3-6215-4101-835a-7eaf7ed72a8c@googlegroups.com> <1d62cc93-324a-4c87-b9d3-67c24cb54c5f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 30 Aug 2016 12:33:42 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="da745e888d4a5182b5fda6212bbb0a63"; logging-data="21110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yPYXolD6WC75zNjlGziRvS4VjeShZuC8=" User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT b8fc14e git.gnome.org/git/pan2) Cancel-Lock: sha1:Vhi5t9w6YFbVdRVguL/E5yRP5oI= Xref: news.eternal-september.org comp.lang.ada:31642 Date: 2016-08-30T12:33:42+00:00 List-Id: On Mon, 29 Aug 2016 19:49:12 +0200, Nicholas Colin Paul de Gloucester wrote: > Brian Drummond sent: > |------------------------------------------------------------------------| > | > |That's what gnatmake or gprbuild do - where some languages require > | > |Makefiles or other out-of-the-language means to manage the > dependencies.| > |------------------------------------------------------------------------| > > > Dear Brian Drummond, > > Thay may be nice, but they are also out-of-the-language means. By that definition, the compiler itself is an out-of-the-language means. Indeed you can see "gnatmake" as "the compiler" and ignore all lower level details. Ada source code tracks its own dependencies properly (with hints in the form of pragma, limited with, use type where it is necessary to resolve circularities and ambiguities) Having learned an allegedly smaller language instead, you sometimes find you also have to learn "make"(*) before you can do anything non-trivial with it. (*) one of only two languages I've seen, where substituting multiple spaces for tabs will change the semantics. I suspect "make" was the inspiration for the other... Mixing languages, you get used to that additional burden, but it's a surprise to have to, as the OP has, in a pure Ada program, thanks to a (hopefully temporary) compiler defect. -- Brian