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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47bcf2a96491fe3e,start X-Google-Attributes: gid103376,public From: "W. Wesley Groleau (Wes)" Subject: Re: separate keyword and separate compilation with GNAT? Date: 1996/07/10 Message-ID: <9607101354.AA04329@most>#1/1 X-Deja-AN: 167599168 sender: Ada programming language comments: To: info-ada%listserv.nodak.edu@emcee.com mailer: Elm [revision: 70.85] newsgroups: comp.lang.ada Date: 1996-07-10T00:00:00+00:00 List-Id: Someone complained about the incredible length of time it would take to compile a "large" system with GNAT due to GNAT's method of also compiling subunits. A similar complaint could be made about the need to "re-compile" EVERYTHING higher on the dependency tree. HOWEVER: I know of TWO (independent) commercial compilers with "library" systems which get corrupted any time you make the slightest change to the dependency tree. Add a 'with' or a 'separate' and you have to remove the library and start over. One of the compilers was used for a system that had 14,000+ source files and took 16 hours to compile. That particular library structure also seemed to get corrupted if a resource problem (not an Ada error) interrupted compilation of one unit. Subsequent units would raise complaints about other units (already with-ed many times). Start over! (sigh). The moral of the story is ... GNAT's not so bad! GNAT's ADVANTAGE in the above scenario is that it can compile in parallel as many files as you have CPUs--both of the above compilers severely restricted multiple access to libraries. P.S. Some don't include spelling on their list of talents. Let's do them a favor and not propagate examples of incorrect spelling (i.e., "seperate"). (But I'm NOT suggesting we flame the person whose typo has been propagated.) -- --------------------------------------------------------------------------- W. Wesley Groleau (Wes) Office: 219-429-4923 Magnavox - Mail Stop 10-40 Home: 219-471-7206 Fort Wayne, IN 46808 elm (Unix): wwgrol@pseserv3.fw.hac.com ---------------------------------------------------------------------------