delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/20/02:09:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 20 Nov 2001 08:07:07 +0100
From: Daniel Steinmann <daniel DOT steinmann AT insonic DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OSTYPE missing
Message-ID: <20011120080707.A944@stonie.insonic.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200111192223430090 DOT 00F20FC3 AT mail DOT rdc1 DOT sdca DOT home DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <200111192223430090.00F20FC3@mail.rdc1.sdca.home.com>; from Bruce@EckelObjects.com on Mon, Nov 19, 2001 at 10:23:43PM -0800

Bruce Eckel wrote:
> I just updated to the latest Cygwin version, and suddenly the
> following lines in my makefile (which worked previously) are
> failing:
> 
> ifneq ($(OSTYPE),cygwin)
>   $(error Must be run under Cygwin, ostype is $(OSTYPE))
> endif
> 
> $(OSTYPE) is only producing '.'

I had the same problem (and question):

  http://www.cygwin.com/ml/cygwin/2001-11/msg01039.html

My workaround:

  OSTYPE := $(findstring CYGWIN, $(shell uname))

HTH,
Daniel.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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