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

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
X-Authentication-Warning: bazooka.micos.at: Host [195.1.0.67] claimed to be comple.at
Message-ID: <3BFA111E.273B409F@comple.at>
Date: Tue, 20 Nov 2001 09:15:26 +0100
From: Tibor =?iso-8859-1?Q?F=F6ldes?= <tfoeldes AT comple DOT at>
Organization: comple.at
X-Mailer: Mozilla 4.75 [de] (X11; U; Linux 2.2.16 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Bruce AT EckelObjects DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: OSTYPE missing
References: <200111192223430090 DOT 00F20FC3 AT mail DOT rdc1 DOT sdca DOT home DOT com>

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 '.'
> 
> Most current information can be found at:
> http://www.mindview.net/Etc/notes.html
> ===================
> Bruce Eckel    http://www.BruceEckel.com
> Contains free electronic books: "Thinking in Java 2e" & "Thinking
> in C++ 2e"
> Please subscribe to my free newsletter -- just send any email to:
> join-eckel-oo-programming AT earth DOT lyris DOT net
> My schedule can be found at:
> http://www.mindview.net/Calendar
> ===================
> 
> --
> 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/

The problem is that bash not exports  OSTYPE .

Workaround :

export OSTYPE in ~/.bashrc

--
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