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,163994d4f34e92d0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.96.42 with SMTP id dp10mr1177583wib.2.1344262757117; Mon, 06 Aug 2012 07:19:17 -0700 (PDT) Path: q11ni72373685wiw.1!nntp.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: how to tell gnatmake to send executables to a different directory when compiling multi source? Date: Sun, 29 Jul 2012 15:46:24 +0200 Organization: A noiseless patient Spider Message-ID: <871ujuptn3.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="38cf13a3fe89469cc7bfc9026f7b3336"; logging-data="9762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//jyVgDWx/pXSSHD0iY0b8" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:7uvkaksdq27lQ/EWH4i0iw+Ni1w= sha1:fdLR7gX8yGBe3wZOI6RrFEnUAeM= Content-Type: text/plain; charset=us-ascii Date: 2012-07-29T15:46:24+02:00 List-Id: "Nasser M. Abbasi" writes: > I found why I can't tell gnatmake to use different folder > for object and executable at the same time. Yes you can: for Object_Dir use "obj"; for Exec_Dir use "."; I do that all the time. Please read the doc. http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gnat_ugn_unw/Object-and-Exec-Directory.html#Object-and-Exec-Directory -- Ludovic Brenta.