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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a02ecdd4cb0f0996 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Pragma Inline and its Effects of Compilation Dependencies. Date: 2000/03/22 Message-ID: <8b956s$9ts$1@nnrp1.deja.com>#1/1 X-Deja-AN: 600639323 References: <8b64ul$jov$1@inputplus.demon.co.uk> X-Http-Proxy: 1.0 x21.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 22 00:47:29 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-22T00:00:00+00:00 List-Id: In article <8b64ul$jov$1@inputplus.demon.co.uk>, ralph@inputplus.demon.co.uk (Ralph Corderoy) wrote: > I've read a little about gnat's gnatmake and how the compiler > doesn't follow the normal library implementation and instead > uses the source files coupled with ALI files. No, the compiler does NOT use ALI files, it only uses source files. This is extremely crucial, since the set of ALI files would be affected by the order of compilation. > Does that mean in practice it copes > correctly with inline dependencies, including when they're in separates? Yes, inlines are handled in all cases, separates make no difference to this at all. > The manual seemed to suggest it didn't consider source outside > the current library. That's confused, GNAT has no notion of library in that sense. The only requirement is that all sources be available to the compilation process. > That wouldn't help in my case. Consider if foo was > being built into a separate Ada library from bar; I alter foo.y.ada and > build locally there. I then want to move to bar's library and find it > is out of date. This kind of scenario is handled in complete generality by gnatmake and related tools, and the correct minimal set of sources is always identified correctly and compiled, regardless of changing dependences. Robert Dewar Ada Core Technologies Sent via Deja.com http://www.deja.com/ Before you buy.