comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: How to get pathname of executable
Date: Fri, 16 Dec 2005 06:56:12 +0000 (UTC)
Date: 2005-12-16T06:56:12+00:00	[thread overview]
Message-ID: <dntoeb$ktp$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <m2fyou3rus.fsf@grendel.local>

Simon Wright wrote:
> Dirk Heinrichs <ext-dirk.heinrichs@nokia.com> writes:
> 
> 
>>$ gnat
>>GNAT 3.4.3 Copyright 1996-2004 Free Software Foundation, Inc.
> 
> 
> The FSF 4.0.0 version also compiles Martin's code -- with a warning:
> 
>    grendel:~/tmp simon$ gnatmake test_exe_loc     
>    gcc -c test_exe_loc.adb
>    test_exe_loc.adb:2:09: warning: "Ada.Directories" is an Ada 2005 unit
>    gnatbind -x test_exe_loc.ali
>    gnatlink test_exe_loc.ali
>    grendel:~/tmp simon$ ./test_exe_loc 
>    /Users/simon/tmp

try "gnatmake -gnat05 ..."

Cheers

-- Martin



      reply	other threads:[~2005-12-16  6:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 14:40 How to get pathname of executable Dirk Heinrichs
2005-12-13 15:26 ` Marc A. Criley
2005-12-13 15:57   ` Dirk Heinrichs
2005-12-14  6:34     ` Lionel Draghi
2005-12-15  0:06       ` Randy Brukardt
2005-12-15  9:30       ` Dirk Heinrichs
2005-12-15 10:26         ` Martin Dowie
2005-12-15 13:10           ` Dirk Heinrichs
2005-12-15 17:34             ` Pascal Obry
2005-12-15 22:42             ` Simon Wright
2005-12-16  6:56               ` Martin Dowie [this message]
replies disabled

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