comp.lang.ada
 help / color / mirror / Atom feed
From: pincerfae@gmail.com
Subject: Re: emacs compliation error (ada mode)
Date: Tue, 16 Jun 2015 15:35:38 -0700 (PDT)
Date: 2015-06-16T15:35:38-07:00	[thread overview]
Message-ID: <2b3b83b6-9a13-47a9-b9f1-c972f698974a@googlegroups.com> (raw)
In-Reply-To: <85fv5r9ymh.fsf@stephe-leake.org>

I'm running ada mode 5.18.
well, since the file is in a location I can locate, maybe I'd be better just running the program directly, though it defeats the purpose of building it in emacs.

I wasn't aware I needed to use keystrokes when there's a menu that can be used.





On Tuesday, June 16, 2015 at 1:39:21 PM UTC-7, Stephen Leake wrote:
> pincerfae@gmail.com writes:
> 
> > In trying out a 'hello world' tutorial, I keep getting an error message of this sort:
> >
> > Compilation started at Mon Jun 15 13:58:27
> >
> > ./hello_world
> > '.' is not recognized as an internal or external command,
> > operable program or batch file.
> 
> This looks like an error message from the cmd shell. "./" is sh shell
> syntax; it assumes "." is not in PATH.
> 
> What does M-: shell-file-name show? If it's something that ends in
> "cmdproxy.exe", then you are running the cmd shell.
> 
> > Compilation exited abnormally with code 1 at Mon Jun 15 13:58:27
> >
> >
> > the hello_world.exe program is there in the project folder. what am I missing?
> >
> > I'm using emacs 24.2 with ada mode on win7.
> 
> What version of ada-mode? (M-x ada-mode-version)
> 
> What keystrokes are you using to invoke this?
> 
> If it's ada-mode 5.x, C-c M-r, then you can change
> the variable ada-build-run-cmd in your .emacs:
> 
> (setq ada-build-run-cmd "${main}")
> 
> Then restart emacs and try again.
> 
> You can also use this variable to specify command line args,
> but Makefiles are better in the long run.
> 
> You can also override ada-build-run-cmd with run_cmd in an ada-mode
> project file; see the Emacs help for this variable (it should be in the
> info manual, but it's not).
> 
> I always run Emacs on Windows with either Cygwin bash or MSYS2 bash as
> the shell.
> 
> -- 
> -- Stephe



  reply	other threads:[~2015-06-16 22: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
2015-06-17 11:52     ` Jean François Martinez
2015-06-16 20:39 ` Stephen Leake
2015-06-16 22:35   ` pincerfae [this message]
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