From: Dirk Heinrichs <dirk.heinrichs@online.de>
Subject: Re: Gnat bind : how to ?
Date: Wed, 21 Jan 2009 19:02:32 +0100
Date: 2009-01-21T19:02:32+01:00 [thread overview]
Message-ID: <gl7nvp$e7g$1@online.de> (raw)
In-Reply-To: d40b2dda-318f-4ccb-be6c-2997cd8b7c30@o40g2000prn.googlegroups.com
dg.recrutement31@gmail.com wrote:
> Hi all,
>
> I would like to store the files by generated gnatbind (b~###.adb,
> b~###.o, ...) and indirecty by gnatmake also in a different directory
> than the current working one.
Just pass it the directory where you placed your object (and .ali) files,
like:
gcc -c test_prog.adb -o /some/dir/obj/test_prog.o
gnatbind -shared /some/dir/obj/test_prog
gnatlink /some/dir/obj/test_prog -o /some/dir/bin/test_prog
HTH...
Dirk
next prev parent reply other threads:[~2009-01-21 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 10:58 Gnat bind : how to ? dg.recrutement31
2009-01-21 18:02 ` Dirk Heinrichs [this message]
2009-01-22 13:42 ` dg.recrutement31
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox