Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Wed, 4 Oct 2000 16:36:04 +0100 (GMT Daylight Time) From: "Sagar R. Shah" To: cygwin@sources.redhat.com Subject: Re: CYGWIN GCC Switch In-Reply-To: <20001004084619.N5786@skarn.sonusnet.com> Message-ID: X-X-Sender: srs29@imap.hermes.cam.ac.uk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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@sourceware.cygnus.com