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: 103376,6458d1ee91b224ec X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.75.167 with SMTP id d7mr1505588paw.30.1361002958714; Sat, 16 Feb 2013 00:22:38 -0800 (PST) Path: ov8ni3288pbb.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake 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> <511e17c3$0$9520$9b4e6d93@newsspool1.arcor-online.net> Date: Sat, 16 Feb 2013 03:22:36 -0500 Message-ID: <85txpcbrcj.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) Cancel-Lock: sha1:aOyRiICI4QvDDjzZkgI2TgH9taI= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 8a043511f41cec55ab71422868 X-Received-Bytes: 2721 Content-Type: text/plain Date: 2013-02-16T03:22:36-05:00 List-Id: Georg Bauhaus writes: > What, twist Ada to meet GNAT requirements, or change the procedures > in the foreign organization? :-) :-) :-) I gather you believe changing the procedures in the foreign organization is impossible; have you at least asked? Explained your problem and asked for solutions? > 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.) I don't see that as "abstracting files away"; C-c C-d (in Emacs Ada mode) navigates to another file. Files are quite central to editing in Emacs. >> Or get a faster computer; > > The old Ada problem again: Get a big budget... It's hardly unique to Ada; recent Microsoft products make much bigger demands on my computer, for far less gain. > My fairly recent 4 core machine The disk speed, memory size, and CPU clock rate (in that order) have more impact; the gnat compiler does not take advantage of multiple cores (unless I've missed a recent change), and compiling does a lot of disk IO. > Alternatively, one could improve GNAT, -gnatep is there, it is almost > working, just not always, in particular with -m ... ;-) Right. Sounds like a reasonable enhancement request. >> I hardly notice the time to compile a dozen >> files. > > Compilation time changes when there are lots of generic instantiations > involved. Yes, the details matter. Improving generic instantiation compilation speed might also be a reasonable enhancement request; AdaCore can always use more feedback on what to work on next. -- -- Stephe