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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6458d1ee91b224ec X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.93.230 with SMTP id cx6mr301077wib.5.1360926660018; Fri, 15 Feb 2013 03:11:00 -0800 (PST) Path: g1ni12346wig.0!nntp.google.com!goblin2!goblin.stu.neva.ru!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 15 Feb 2013 12:11:01 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: chopping Ada source that have preprocessor symbols in them References: <5111a9d5$0$6567$9b4e6d93@newsspool3.arcor-online.net> <85txpnm1vp.fsf@stephe-leake.org> <5114fb61$0$6561$9b4e6d93@newsspool4.arcor-online.net> <85ehgqkxnf.fsf@stephe-leake.org> <51168e7e$0$6566$9b4e6d93@newsspool3.arcor-online.net> <85r4khdfm3.fsf@stephe-leake.org> In-Reply-To: <85r4khdfm3.fsf@stephe-leake.org> Message-ID: <511e17c3$0$9520$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 15 Feb 2013 12:10:59 CET NNTP-Posting-Host: 5910baac.newsspool1.arcor-online.net X-Trace: DXC=PF=Gk7]S<@gIkjb;<8iR=aic==]BZ:afn4Fo<]lROoRankgeX?EC@@`hXZIWVe1=Plnc\616M64>jLh>_cHTX3jm06TBBbbHS?o X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: 2013-02-15T12:10:59+01:00 List-Id: On 15.02.13 11:40, Stephen Leake wrote: > The root cause of your problem is putting more than one compilation unit > in one file. > > Change that. What, twist Ada to meet GNAT requirements, or change the procedures in the foreign organization? :-) :-) :-) Well, one unit per file *is* o.K, if *files* of a single piece of text are any good (they are, absent a better alternative). Did you notice that every IDE abstracts files away? (C-c C-d is among my favorites.) > Or get a faster computer; The old Ada problem again: Get a big budget... My fairly recent 4 core machine should suffice for Ada, I hope, for the time being. Alternatively, one could improve GNAT, -gnatep is there, it is almost working, just not always, in particular with -m ... ;-) > I hardly notice the time to compile a dozen > files. Compilation time changes when there are lots of generic instantiations involved. I'm moving parts from there to ordinary packages, which helps in other ways, too.