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,e36020a4e7d24836 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!216.196.110.146.MISMATCH!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Thu, 10 Mar 2011 11:09:53 -0600 Content-Type: text/plain; charset="ISO-8859-1" From: Robert Matthews Date: Thu, 10 Mar 2011 17:10:21 +0000 User-Agent: KNode/4.4.6 Content-Transfer-Encoding: 7Bit Subject: Re: How to leave .ali files in original library? Newsgroups: comp.lang.ada References: Followup-To: comp.lang.ada MIME-Version: 1.0 Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-LrIbP9weuIqZibPRRSR+qySHrRgT9Zp3DV4eGM1d2KJLr0Vv9XIJt6g9H4VUKR5peyRNmzGEGN1FEje!AAFAwQ1eW52GGOqdNRJx46wPCI8zSA+SqHlsqBP69h4xMpdnKQ2OF2baa+3gxTVnWPGeOmQN+9v9!Jyf53PNobpKWABBw0m/P03PQ X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1916 Xref: g2news1.google.com comp.lang.ada:18055 Date: 2011-03-10T17:10:21+00:00 List-Id: Jeffrey Carter wrote: > On 03/09/2011 11:00 AM, localhost@example.org wrote: >> >> My question after that is how I can stop all the .ali files from being >> regenerated in my working directory. They're all in >> ncurses/lib/ada/adalib already do they really have to be rebuilt/copied >> into my working directory? I seem to remember a way of avoiding this but >> I can't find it now. The .o files are also being built. I realize this >> has to happen but can't it be done in the adalib directory instead of >> every directory I build an Ada ncurses program? In other words why should >> the object files be created over and over again. > > If you read the top-secret GNAT documentation, you will find that the > trick is to make the .ali files read only. > I also use the "-i" switch with gnatmake. Bob Matthews