Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: skarn.sonusnet.com: tgoodman set sender to tsg AT bonedaddy DOT net using -f Date: Wed, 4 Oct 2000 11:44:58 -0400 From: Todd Goodman To: "Sagar R. Shah" Cc: cygwin AT sources DOT redhat DOT com Subject: Re: CYGWIN GCC Switch Message-ID: <20001004114458.T5786@skarn.sonusnet.com> References: <20001004084619 DOT N5786 AT skarn DOT sonusnet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.7i In-Reply-To: ; 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 [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 [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 AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com