This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: perl/cygwin and system calls




> From: Perakis, John [mailto:JPerakis@crossbeamsys.com]
> Subject: perl/cygwin and system calls
> ... I'm trying to use a system call to kick off my
> make  ie system("//c/cygwin/bin/make all").  This piece is failing, I
> believe,  because the system call is going out and using an NT
> environment not a Cygwin env.  Does anyone know how I can get this to
> what I want.
   Use cygwin perl and setup your path correctly. Then
        system("make all")

  If there's some reason you think you can't use cygwin perl try

    system("cmd/c do_my_make.bat")

 take a peak at your c:\cygwin\cygwin.bat for hints on what
 to put in my_make.bat

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]