comp.lang.ada
 help / color / mirror / Atom feed
* Compiling Ada from another directory
@ 2007-09-12 21:59 rotinom
  2007-09-12 23:01 ` Georg Bauhaus
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: rotinom @ 2007-09-12 21:59 UTC (permalink / 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!




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-18 21:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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