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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 16 Jun 2015 07:34:57 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: emacs compliation error (ada mode) Date: Tue, 16 Jun 2015 08:35:03 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <6bf1467d-4a5f-4809-9633-f33ce3fc585a@googlegroups.com> X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.73.116.76 X-Trace: sv3-ZTudMRPOy5hNC3pLJtBh8CTRJfUA3GnBzDGX4uZsvadGK154pQ3vVPdn5JV0shJtEYIiz4fGz9gHR0F!I6VetvYC2HtNg/1/iZxCLJTaSLY23AtlaBfFmIDYW7L91EoJZamOOh+mWi20ENmFHfs65pkXPqCQ!24vh/mChKdmd5e72bwV3CpTVP2k= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2232 Xref: number.nntp.giganews.com comp.lang.ada:193647 Date: 2015-06-16T08:35:03-04:00 List-Id: On Tue, 16 Jun 2015 08:26:57 +0100, Simon Wright 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/