From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a2c583b62999ffbd X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!e1g2000pra.googlegroups.com!not-for-mail From: dg.recrutement31@gmail.com Newsgroups: comp.lang.ada Subject: Re: Gnat bind : how to ? Date: Thu, 22 Jan 2009 05:42:39 -0800 (PST) Organization: http://groups.google.com Message-ID: <1647ae60-862b-4de6-87a7-057131929a74@e1g2000pra.googlegroups.com> References: NNTP-Posting-Host: 79.80.245.65 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1232631759 7766 127.0.0.1 (22 Jan 2009 13:42:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 22 Jan 2009 13:42:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e1g2000pra.googlegroups.com; posting-host=79.80.245.65; posting-account=HpMZ9woAAAAbUfgv8ursvDzjzsHkqjkF User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4449 Date: 2009-01-22T05:42:39-08:00 List-Id: On 21 jan, 19:02, Dirk Heinrichs wrote: > dg.recrutemen...@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... > > =A0 =A0 =A0 =A0 Dirk Fine. I would have guessed it. Thanks a lot, Dirk.