Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Eric Hanchrow Subject: Re: gcc -mno-cygwin finds the wrong include files Date: Tue, 13 Apr 2004 10:42:53 -0700 Lines: 42 Message-ID: <87ptab7p0i.fsf@offby1.atm01.sea.blarg.net> References: <4078B62F DOT 3050108 AT scytek DOT de> <407C2306 DOT 3030905 AT scytek DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: offby1.atm01.sea.blarg.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Hi, could someone please confirm that this is a bug, and not a problem that exists only on this computer. I just tried it, and got reasonable-looking output: # 1 "" # 1 "" # 1 "" # 1 "" # 1 "/lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h" 1 3 4 # 158 "/lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h" 3 4 typedef int ptrdiff_t; # 220 "/lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h" 3 4 typedef unsigned int size_t; # 332 "/lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 2 "" 2 > Hi, > when I use the following command gcc finds the wrong include > file. > $ echo "#include " | gcc -mno-cygwin -E - > # 1 "" > # 1 "" > # 1 "" > # 1 "" > # 1 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 1 3 4 > # 158 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 3 4 > typedef int ptrdiff_t; > # 220 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 3 4 > typedef unsigned int size_t; > # 332 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 3 4 > typedef short unsigned int wchar_t; > # 2 "" 2 -- "I said, `Shut up!' " Ms. Glass recalled ... " `You do not! Oh my God! Oh my God! Oh my God!' So I went to Nina, my boss, and said, `Oh my God! Oh my God! Oh my God!' " --- Julie Salamon, in the New York Times -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/