comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to get pathname of executable
Date: Thu, 15 Dec 2005 22:42:03 +0000
Date: 2005-12-15T22:42:03+00:00	[thread overview]
Message-ID: <m2fyou3rus.fsf@grendel.local> (raw)
In-Reply-To: LWdof.17181$_k2.289491@news2.nokia.com

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



  parent reply	other threads:[~2005-12-15 22:42 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 [this message]
2005-12-16  6:56               ` Martin Dowie
replies disabled

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