delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/02/13:29:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-envelope-info: <cgd AT sonic DOT net>
Message-ID: <3E3D6371.9090901@sonic.net>
Date: Sun, 02 Feb 2003 10:29:05 -0800
From: Christos Dritsas <cgd AT sonic DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Compile of NetBSD 1.6
References: <3E3C040C DOT 7000204 AT sonic DOT net>
In-Reply-To: <3E3C040C.7000204@sonic.net>

Christos wrote:

>
> I am attempting to compile NetBSD 1.6 via Cygwin 1.3.19-1 (on Win2k) 
> by issuing the following command:
>
>     ./build.sh -m shark -u -t
>
> I get the following error:
>
>     $ ./build.sh -m shark -u -t
>     ===> Bootstrapping nbmake
>     checking for sh... /usr/bin/sh
>     checking for gcc... cc
>     checking for C compiler default output... configure: error: C     
> compiler cannot create executables
>
>     ERROR: configure of nbmake failed
>     *** BUILD ABORTED ***

So, what appears to be happening is that the build.sh script is 
recoginizing "cc" when checking for "gcc". Cygwin does not appear to 
recognize "cc" as a compiler on it - attempted test compiles with the 
"cc" comand. Without changing anything in the build scripts, is there an 
easy way to tell the Cygwin bash enviornment to recognize "cc" as "gcc"? 
I did attempt to use a name-value pair in the bash enviornment (as per 
the bash man page - "CC=C:\cygwin\bin\gcc.exe"), but it did not work for 
me.

Any pointers would be apprecitated - thank you,
Christos



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