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: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to leave .ali files in original library? Date: Thu, 10 Mar 2011 06:36:52 +0000 Organization: A noiseless patient Spider Message-ID: References: <87zkp4uhjl.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="28655"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i+3iitHVXkc3XDPPLgugQG4xz8+oj+w4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:LbZwfpQYVy7AXISJJ9PMynrrLac= sha1:9hmvWLxIh+f3Ulc4qJe2Fln/ETI= Xref: g2news2.google.com comp.lang.ada:18993 Date: 2011-03-10T06:36:52+00:00 List-Id: localhost@example.org writes: > I just don't like having the working directory cluttered with extra > files for no good reason. I always include in my .gprs something like for Object_Dir use ".build"; which means all the .alis, .os end up in the subdirectory .build (relative to the .gpr). (a) Hoving said that, you also need to say this, otherwise the executable ends up there too: for Exec_Dir use "."; (b) The subdirectory needs to be created; modern gnatmakes provide the -p flag to do this (cf mkdir).