comp.lang.ada
 help / color / mirror / Atom feed
From: rotinom <rotinom@gmail.com>
Subject: Re: Compiling Ada from another directory
Date: Thu, 13 Sep 2007 07:16:09 -0700
Date: 2007-09-13T07:16:09-07:00	[thread overview]
Message-ID: <1189692969.193051.231830@19g2000hsx.googlegroups.com> (raw)
In-Reply-To: <E6%Fi.534330$p47.124299@bgtnsc04-news.ops.worldnet.att.net>

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
<project file> 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.




  reply	other threads:[~2007-09-13 14:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 21:59 Compiling Ada from another directory rotinom
2007-09-12 23:01 ` Georg Bauhaus
2007-09-12 23:17   ` rotinom
2007-09-13  0:01 ` Jeffrey R. Carter
2007-09-13  0:02 ` anon
2007-09-13 14:16   ` rotinom [this message]
2007-09-13 15:01     ` Markus E L
2007-09-17 19:08       ` rotinom
2007-09-18 21:21         ` Simon Wright
2007-09-13 22:22     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox