delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/05/20:15:22

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: Mon, 5 Feb 2001 20:15:28 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: specs file for gcc-2.95.2-7 and -mno-cygwin
Message-ID: <20010205201528.A28093@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 31 DOT 0102051847570 DOT 362-100000 AT auk DOT stats> <20010205144807 DOT A12236 AT redhat DOT com> <3A7F4BCF DOT FF2DA6C0 AT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A7F4BCF.FF2DA6C0@yahoo.com>; from earnie_boyd@yahoo.com on Mon, Feb 05, 2001 at 07:56:48PM -0500

On Mon, Feb 05, 2001 at 07:56:48PM -0500, Earnie Boyd wrote:
>> >diff -u follows:
>> >--- specs.orig Tue Jan 30 21:38:32 2001
>> >+++ specs      Sat Feb  3 18:22:32 2001
>> >@@ -5,7 +5,7 @@
>> >
>> >
>> > *cpp:
>> >--remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}   %{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix     -isystem /usr/local/include     -idirafter /usr/include}   %{mno-win32: %{mno-cygwin: %emno-cygwin and mno-win32 are not compatible}}   %{mno-cygwin:-DWIN32 -D__WIN32__ -D__MINGW32__=0.2     %{mthreads:-D_MT}     -isystem /usr/local/include/mingw     -idirafter /usr/include/mingw     -iwithprefixbefore ../../../../mingw/include/g++-3     -iwithprefixbefore ../../../../mingw/include     -iwithprefixbefore ../../../../mingw32/include/g++-3     -iwithprefixbefore ../../../../mingw32/include }    %{mwin32:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -DWINNT      -idirafter /usr/include/w32api}
>> >+-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}   %{!mno-cygwin:-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix     -isystem /usr/local/include     -idirafter /usr/include}   %{mno-win32: %{mno-cygwin: %emno-cygwin and mno-win32 are not compatible}}   %{mno-cygwin:-DWIN32 -D__WIN32__ -D__MINGW32__=0.3  -D__MSVCRT__   %{mthreads:-D_MT}     -isystem /usr/include/mingw32     -idirafter /usr/include/mingw32     -iwithprefixbefore ../../../../mingw32/include/g++-3     -iwithprefixbefore ../../../../mingw32/include     -iwithprefixbefore ../../../../mingw32/include/g++-3     -iwithprefixbefore ../../../../mingw32/include }    %{mwin32:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -DWINNT      -idirafter /usr/include/w32api}
>
>Chris, the `-dirafter /usr/include/w32api' needs to be moved outside of the '}' so that Cygwin can pick this up too.

I don't think it makes sense for /usr/include/w32api to be included unless you're using -mwin32.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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