Experimental Physics and Industrial Control System
On 3/12/10 4:04 AM, Dirk Zimoch wrote:
> John,
>
> I have verified that "r was unexpected at this time" is an error message
> from the windows command interpreter. I put this (bash) code into a
> *.bat file:
>
> for r in a b c; do echo $r; done
>
> and executed the bat file and got the same error message.
>
> I have no idea how the windows shell works. Better use bash from cygwin.
Hi, Dirk.
But what do you mean by "Better use bash from cygwin?" Are you
suggesting that John should run "make" from a bash shell from Cygwin?
That's what I'm saying is not what I would expect to make a difference.
What's important is what shell make is using to execute the commands
for each target. This is why I suggested checking what the default
shell is for the make included with GnuWin32 and checking if the SHELL
make variable had been set and, if so, to what?
>From what you've said above, it looks like perhaps make is using the
Windows command interpreter as the shell rather than a Bourne shell. So
if John were to set the make SHELL variable to /bin/sh (or wherever it
is for GnuWin32) then perhaps his problem would be solved.
Lewis
- References:
- Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
- RE: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- Re: Building StreamDevice 2-4 / SynApps / Win32 Dirk Zimoch
- Re: Building StreamDevice 2-4 / SynApps / Win32 Dirk Zimoch
- Navigate by Date:
- Prev:
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- Next:
Re: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Building StreamDevice 2-4 / SynApps / Win32 Dirk Zimoch
- Next:
Re: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024