Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , 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 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 Kevin Hill 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