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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID 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: "Ken Garlington" Subject: Re: Pragma Inline and its Effects of Compilation Dependencies. Date: 2000/03/22 Message-ID: #1/1 X-Deja-AN: 600657432 References: <8b64ul$jov$1@inputplus.demon.co.uk> <8b8gen$mko$1@nnrp1.deja.com> <38D7CABA.A73F88C6@cadence.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 953687957 209.250.225.153 (Tue, 21 Mar 2000 19:19:17 CST) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 21 Mar 2000 19:19:17 CST Newsgroups: comp.lang.ada Date: 2000-03-22T00:00:00+00:00 List-Id: I think the use of the library-based approach was due to a combination of things: - Vendors reading RM83 section 10.4 too closely: "a library file containing information on the compilation units of the program library must be maintained by the compiler..." - Assumptions about efficiency. - The desire to do things like distribute pre-compiled component sets without releasing the source code. The presumption was that this was better than just releasing object code, since there would be additional information for optimizations, support tools, etc. "Paul Graham" wrote in message news:38D7CABA.A73F88C6@cadence.com... > Robert Dewar wrote: > > > One of the big advantages of the source based model used first > > by GNAT, and later by some (but not all) other Ada 95 compilers > > is that inlining can be done accurately. > > Makes you wonder why the library-based method of compilation was used in > the > first place. Perhaps the intent was to save compilation time by not > recompiling > package sources each time they are USEd in another unit. > > Paul