www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/30/17:34:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Make and shell calls
To: cygwin AT cygwin DOT com
Message-ID: <OFCEB0CDB2.64287DE5-ON87256C25.0075CF4B@boulder.ibm.com>
From: "Wendy Vanhonacker" <wvanhon AT us DOT ibm DOT com>
Date: Fri, 30 Aug 2002 14:34:03 -0700
MIME-Version: 1.0

Hi,
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:

with:
d:/sbroot/bin :
      mkdir d:/sbroot/bin

I get the error:

mkdir d:/sbroot/bin
 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:
d:\sbroot\bin :
      mkdir d:\sbroot\bin

Error:
mkdir d:\sbroot\bin
Extended Error 183

   3039 [main] make 949 proc_subproc: Couldn't duplicate my handle<0x10C>
for pid 0, Win32 error 6
make[1]: mkdir: Command not found
make[1]: *** [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...

PLease help!






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019