From: rotinom <rotinom@gmail.com>
Subject: Compiling Ada from another directory
Date: Wed, 12 Sep 2007 14:59:49 -0700
Date: 2007-09-12T14:59:49-07:00 [thread overview]
Message-ID: <1189634389.893905.5800@50g2000hsm.googlegroups.com> (raw)
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.
So my command lines so far are:
gcc -c -o _build/Bottles.o src/Bottles.adb
Bottles.adb:6:11: warning: file name does not match unit name, should
be "bottles.adb"
gnatbind -o _build/b~Bottles.adb _build/Bottles.ali
gnatlink -o _build/Bottles.exe _build/Bottles.ali
gnatlink: Failed to open binder output
(Yes, _build/b~Bottles.adb/ads/ali all exist)
It would seem that I'm missing a command line switch or something
here. Any help would be greatly appreciated.
Thanks!
next reply other threads:[~2007-09-12 21:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-12 21:59 rotinom [this message]
2007-09-12 23:01 ` Compiling Ada from another directory 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
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