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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Stackoverflow answer in need of update? Date: Mon, 23 Feb 2015 21:10:16 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="2264ce80786277a040d2587c2e4d1262"; logging-data="2684"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+3ApeGHRO8RUhHK71kFncufGtIZZONK8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin) Cancel-Lock: sha1:uJziLYDBoxsanjqEntpE6wORL6w= sha1:uSmrWZ26XCXoAazO6quVxM5vMDQ= Xref: news.eternal-september.org comp.lang.ada:25000 Date: 2015-02-23T21:10:16+00:00 List-Id: Simon Wright writes: > "G.B." writes: > >> http://stackoverflow.com/questions/16182824/ada-beginner-stack-program >> >> claims that gcc needs a 1:1 correspondence of compilation units and >> files. However, there now is -gnateINNN, in view of which this might >> no longer be true as is. (I do not know the details or its >> convenience as a solution, but maybe that's worth an update.) > > The OP there said "I am totally new to Ada and also how to compile 2 > files", so I suspect that the only sensible way of using this feature > (to use gnatname to update a project file) would be inappropriate. And I don't see how to use it to produce an executable.