comp.lang.ada
 help / color / mirror / Atom feed
From: rotinom <rotinom@gmail.com>
Subject: Re: Compiling Ada from another directory
Date: Wed, 12 Sep 2007 16:17:25 -0700
Date: 2007-09-12T16:17:25-07:00	[thread overview]
Message-ID: <1189639045.213408.243820@w3g2000hsg.googlegroups.com> (raw)
In-Reply-To: <1189638096.12652.56.camel@kartoffel>

> (Maybe this is an effect of assuming that you need to use
> similar build tools ;-)

Quite possibly :)

We operate in a mixed source environment, and we've invested in using
SCons (http://www.scons.org) as our primary build tool.  SCons is
great with it's support with a variety of languages, however Ada was
never picked up (until now).  I'll try to not bore you with details,
but it takes much (if not all) of the "bind" functionality of ada, and
makes it available for other languages.  We're heavily invested into
it, and it's helped us out tremendously with our large project. (It's
really nice to touch one of our heavily depended files, and see a near
entire rebuild of our source tree, because everything is now out of
date).


I've gotten gnatlink to spit out the command line that it's trying to
use, by specifying the -v option.  However, I'm hitting a wall with
the bind file.


The "bad" lines are:
1: pragma Source_File_Name (ada_main, Spec_File_Name => "_build/
b~Bottles.ads");
2: pragma Source_File_Name (ada_main, Body_File_Name => "_build/
b~Bottles.adb");

When I try to compile it, I get:

gcc -c -gnatA -gnatWb -gnatiw -mtune=pentiumpro -gnatws _build/
b~Bottles.adb
b~Bottles.adb:1:61: directory separator character not allowed
b~Bottles.adb:2:61: directory separator character not allowed



TIA




  reply	other threads:[~2007-09-12 23:17 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 [this message]
2007-09-13  0:01 ` Jeffrey R. Carter
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