delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/18/20:27:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199908190025.TAA02778@mercury.xraylith.wisc.edu>
To: Kevin Hill <kevin_hill AT bigfoot DOT com>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Mingw make compile giving errors...
In-Reply-To: Your message of "Thu, 19 Aug 1999 11:32:14 +1200."
<37BB427E DOT 61878BA8 AT bigfoot DOT com>
Date: Wed, 18 Aug 1999 19:25:21 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Kevin Hill <kevin_hill AT bigfoot DOT com> writes:
> People,
> 
> Have installed b20.1, added gcc 2.95 and mingw extensions. Attempting to
> compile make 3.77 for mingw. Done the following:
> 
> 1. export CFLAGS='-I/cygnus/cygwin-b20/mingw/include -mno-cygwin'
> 2. export LDFLAGS=-L/cygnus/cygwin-b20/mingw/lib
> 3. ./configure
> 4. make

Please read my -mno-cygwin howto:
  http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
for the various pitfalls in using -mno-cygwin.

> 
> Anyone got any idea what I have done wrong here? I thought I had
> followed all of Mumit's instructions on installing mingw.

The problem comes up quite often. Configure runs tests to see if 
various includes/features exist. Even when using -mno-cygwin, you 
still pick up Cygwin headers and features. The only solution that
really works all the time is to use -nostdinc and then specify all 
the include directories manually.

I don't have time to go into the details, but this should give you
enough info to go forward. In the meantime, use my precompiled 
binaries for make-3.77.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019