|Subject:||RE: Shell commands in makefile not working (running Windows XP)|
|Date:||Wed, 13 Aug 2003 09:39:25 -0700|
That is what I was thinking. However, I think that since Windows XP doesn’t use a SHELL environment variable, make is setting it as if it was in its natural environment (hence the sh.exe). I have tried overriding it by setting SHELL=cmd.exe, yet when I echoed it the value displayed was still ‘sh.exe’. Furthermore, I even called make with the –e option to suppress environment variables and let the user override them, and it still didn’t work.
It’s extremely frustrating to have such a small issue hold me up so much. It seems like if this was an issue between make and command line interpreters, it would have came up before now with other people. At this point, I’m considering redesigning how my system is going to do this, probably use a scripting language to implement parts of this, because cryptic unheard of issues like this take way too much time to debug/debunk. However anyone else w/ suggestions is welcome, there has to be some cause for shell throwing that exception. Thanks a bunch.
The Insitu Group
You might try putting the command:
so you can see what make is using for a shell.
You can put SHELL=xxx in the makefile to point it to a given shell.
|[Prev in Thread]||Current Thread||[Next in Thread]|