From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: Compiling Ada from another directory
Date: Thu, 13 Sep 2007 00:01:01 GMT
Date: 2007-09-13T00:01:01+00:00 [thread overview]
Message-ID: <15%Fi.99306$Fc.83349@attbi_s21> (raw)
In-Reply-To: <1189634389.893905.5800@50g2000hsm.googlegroups.com>
rotinom wrote:
> Hey all. I'm working with a build tool that pretty much requires me
> to build from a single directory, and I'd like to place the objects in
> another directory. This has proven great with everything else, but
> when it comes to Ada, I'm hitting a brick wall.
You should understand that this is not an Ada question. This is a
compiler question. Different compilers will handle this differently. You
really should specify your compiler, compiler version, and host and
target platforms.
From your examples, I'm going to guess that you're using some version
of GNAT, self targeted on some version of Windows.
Project files provide a simple way to specify that GNAT's compilation
artifacts (.o and .ali) go in a different directory. A careful reading
of the secret documentation (probably the GNAT Users Guide) will tell
you about switches such as -I that give you further control over where
it will look for things.
--
Jeff Carter
"Go and boil your bottoms."
Monty Python & the Holy Grail
01
next prev parent reply other threads:[~2007-09-13 0:01 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 [this message]
2007-09-13 0:02 ` anon
2007-09-13 14:16 ` rotinom
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