delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/21/13:36:03

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
Message-ID: <20030621173545.12995.qmail@web14205.mail.yahoo.com>
Date: Sat, 21 Jun 2003 10:35:45 -0700 (PDT)
From: "Ling F. Zhang" <lingfengz AT yahoo DOT com>
Reply-To: lingfengz AT yahoo DOT com
Subject: Re: cygwin and the rest of the Windows
To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.44.0306211126420.22307-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

okay! the question is this then: say I write a perl
script...
should the first line be
#/usr/bin/perl
or
#C:\cygwin\usr\bin\perl ?

thank you
--- Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Sat, 21 Jun 2003, Ling F. Zhang wrote:
> 
> > I successfully ran both the cygwin apache (1.3x)
> and
> > windows native one (2.x).  So I need to chose one
> to
> > run (as they wouldn't share port 80)...sine I
> usually
> > do my cgi in perl and shell-script, cygwin is the
> > clear choice...but I do miss such feature as
> WebDAV in
> > the version 2 (I didn't feel like recompiling
> apache
> > on cygwin just to mess things up).  So, here's the
> > question, is it possible for windows to use cygwin
> > developement tools? as in, can I use the cygwin
> perl
> > interpretor to interpret my perl script if the
> apache
> > is the windows native one?
> 
> Ling,
> 
> Yes, it's theoretically possible, as long as the
> Cygwin /bin directory is
> in the path.  There may be some peculiarities
> specific to your system that
> you'd have to solve (in particular, all the scripts
> will get Win32 paths
> as parameters, rather than Cygwin POSIX paths), but
> there's nothing major
> that prevents you from doing this.
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski,
> Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a
> JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between
> your mentor and his route
> to the bathroom is a major career booster."  --
> Patrick Naughton
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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