[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell invocation flags

From: Dan Oelke
Subject: Shell invocation flags
Date: Thu, 21 Jul 2005 15:59:35 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

I have make 3.80 from a recent cygwin update. I am attempting to create a Visual Studio project that will invoke this make and from there on I can update a (reasonable) makefile instead of a Visual Studio project. My problem is that when I invoke make from a bash shell everything is ok. When it's invoked from inside the bowels of Visual Studio I get an error:
   ./Components/CygwinTools/Utils/bash: /c: No such file or directory

My makefile has SHELL defined as:
   SHELL := ../Components/CygwinTools/Utils/bash

When I invoke make from the normal bash shell I have all the unix variables, etc. When it's invoked from inside of Visual Studio I just have the few things I've checked into our source control system. (bash.exe, make.exe, cygwin1.dll, etc)

So it appears that make is adding -c when it thinks its in a normal Unix environment and /c when it thinks it's in a DOS type environment. That make sense. But - how do I tell make that I'm in a Unix environment and using cygwin tools?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]