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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,474f983404143522 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!19g2000hsx.googlegroups.com!not-for-mail From: rotinom Newsgroups: comp.lang.ada Subject: Re: Compiling Ada from another directory Date: Thu, 13 Sep 2007 07:16:09 -0700 Organization: http://groups.google.com Message-ID: <1189692969.193051.231830@19g2000hsx.googlegroups.com> References: <1189634389.893905.5800@50g2000hsm.googlegroups.com> NNTP-Posting-Host: 130.210.244.193 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1189692969 1598 127.0.0.1 (13 Sep 2007 14:16:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 13 Sep 2007 14:16:09 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000hsx.googlegroups.com; posting-host=130.210.244.193; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1942 Date: 2007-09-13T07:16:09-07:00 List-Id: On Sep 12, 7:02 pm, a...@anon.org (anon) wrote: > # > # The "bind" and "link" functions do not require command line options > # > gcc -c -o _build/Bottles.o src/Bottles.adb > gnatbind _build/Bottles.ali > gnatlink _build/Bottles.ali > I played with the project files yesterday, and they do what I want, however I would then have to maintain them, and they After playing around with it, it appears that this is the *best* solution. The downside however, is that gnatbind creates the b~* "temporary" files in the current directory. gnatlink is kind enough to remove them, however it still sort of stinks. I'd need to go back and check, but I seem to recall that if I "slowed" gnatmake -P down to build one step at a time, it was able to place the b~* files in the "Object" directory. Thanks for the help everyone.