comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: emacs compliation error (ada mode)
Date: Tue, 16 Jun 2015 08:35:03 -0400
Date: 2015-06-16T08:35:03-04:00	[thread overview]
Message-ID: <gp50oalpatqn08dkja8t9tdm88bn00btdq@4ax.com> (raw)
In-Reply-To: lyfv5si05a.fsf@pushface.org

On Tue, 16 Jun 2015 08:26:57 +0100, Simon Wright <simon@pushface.org>
declaimed the following:

>
>You're on Windows, and I think you must - by design or not - be running
>cmd as your shell.
>
>cmd would interpret "./hello_world" as "run the program '.' and pass it
>the switch '/hello_world'". Cmd needs a backslash, ".\hello_world".
>
	It doesn't even need the .\

	Unlike Linux/UNIX shells which don't include the current directory as a
default search for executables, Windows command processor always looks in
the current directory; just a simple "hello_world" will suffice.

>
>Here, with 5.1.8, I think you'd customise Ada Build Run Cmd in the Ada
>Build subgroup from ./${main} to .\${main} - in your case it may be in
>the top-level Ada customisation group and just called Ada Run Cmd or
>something like that.

	Ah, but I can't speak for running from within an editor -- I think if
it uses current working directory, again no ./ or .\ is needed.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/


  reply	other threads:[~2015-06-16 12:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 21:00 emacs compliation error (ada mode) pincerfae
2015-06-16  7:26 ` Simon Wright
2015-06-16 12:35   ` Dennis Lee Bieber [this message]
2015-06-17 11:52     ` Jean François Martinez
2015-06-16 20:39 ` Stephen Leake
2015-06-16 22:35   ` pincerfae
2015-06-17  7:47     ` Simon Wright
2015-06-17 11:25       ` Simon Wright
2015-06-17 17:21     ` Stephen Leake
replies disabled

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