Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: skarn.sonusnet.com: tgoodman set sender to tsg@bonedaddy.net using -f
Date: Wed, 4 Oct 2000 11:44:58 -0400
From: Todd Goodman <tsg@bonedaddy.net>
To: "Sagar R. Shah" <Sagar.Shah@sid.cam.ac.uk>
Cc: cygwin@sources.redhat.com
Subject: Re: CYGWIN GCC Switch
Message-ID: <20001004114458.T5786@skarn.sonusnet.com>
References: <20001004084619.N5786@skarn.sonusnet.com> <Pine.WNT.4.21.0010041632040.49-100000@PC455.cl.pwf.cam.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.7i
In-Reply-To: <Pine.WNT.4.21.0010041632040.49-100000@PC455.cl.pwf.cam.ac.uk>; from Sagar.Shah@sid.cam.ac.uk on Wed, Oct 04, 2000 at 04:36:04PM +0100
X-Editor: Vim-507 http://www.vim.org/

My cygwin perl (from Chuck Wilson's web site) gives "cygwin" for $^O.

I'd recommend running the Cygwin perl in the cygwin environment.

* Sagar R. Shah <Sagar.Shah@sid.cam.ac.uk> [001004 11:37]:
> On Wed, 4 Oct 2000, Todd Goodman wrote:
> 
> > Does the $^O variable do what you want?
> 
> Thanks for the idea, but no :-( 
> 
> $^O just has "MSWin32" or something like that in it. Although i'm not sure
> whether that is because I'm running Cygwin on Win98 or because my perl is
> the window ActivePerl rather than the unix/linux/cygwin version.
> 
> Any other ideas?
> 
> I could just set an environment variable in .profile, but not a very
> portable solution.
> 
> > 
> > * Sagar R. Shah <Sagar.Shah@sid.cam.ac.uk> [001004 03:00]:
> > > And does anyone know whether you can do more or less the same in Perl?
> 
> --------------------------------------------------------------------------
> Sagar R. Shah                 www: http://thor.cam.ac.uk/~srs29
> Room Z5                       map: http://thor.cam.ac.uk/~srs29/sidmap.jpg
> Sidney Sussex College         ICQ: 34249234
> Cambridge                     Mob: 07703 663 879
> CB2 3HU                       Tel: Coming.....
> --------------------------------------------------------------------------
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

