This is the mail archive of the
mailing list for the Cygwin project.
Make and shell calls
- From: "Wendy Vanhonacker" <wvanhon at us dot ibm dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 30 Aug 2002 14:34:03 -0700
- Subject: Make and shell calls
I'm using cygwin on NT to run some makefiles, and I have a problem with a
shell command line.
I'm calling the makefile from the DOS.
Here what I get:
I get the error:
175510 [main] make 786 proc_subproc: Couldn't duplicate my handle<0x10C>
for pid 2283400, Win32 error 6
Invalid switch - /bin
I don't know what shell it is using, but when I try directly on DOS with sh
I have the same thing , but when I do it on the cygwin window it works!
I don't know if I should need '/' or '\'.
I guess it's a porblem of transfer between cygwin and MSDOS. (I did all the
environment variables changes..).
If I do it with backward slash I get the error:
Extended Error 183
3039 [main] make 949 proc_subproc: Couldn't duplicate my handle<0x10C>
for pid 0, Win32 error 6
make: mkdir: Command not found
make: *** [d:\sbroot\bin] Error 127
Where is the problem.
What do you do with '\' and '/'? Should I put forward slash everywhere
since it's a UNIX window?
The invalid switch error usually comes when you use MSDOS syntax instead or
unix or reverse...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html