delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/08/08:20:33

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <4618D974 DOT 10009 AT cox DOT net>
Subject: RE: 1.5.24: 'gcc -mno-cygwin' doesn't find standard headers
Date: Sun, 8 Apr 2007 13:19:52 +0100
Message-ID: <007901c779d8$35dab150$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4618D974.10009@cox.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 08 April 2007 13:01, Greg Chicares wrote:

> Yesterday, 'gcc -mno-cygwin' worked fine. Today, it stopped
> working (testcase below) after I ran 'setup.exe' to get
> another package. I then tried, in succession:
>  - reinstalling gcc-mingw-core and gcc-mingw-g++
>  - reinstalling gcc-core and gcc-g++
>  - uninstalling and reinstalling all of cygwin
> but the issue persists. Testcase:

> /home/chicares[0]$gcc -mno-cygwin no-stdio.c
> no-stdio.c:1:19: stdio.h: No such file or directory

> Yet that header is present:
> 
> /home/chicares[0]$ls /usr/i386-pc-cygwin/include/mingw/stdio.h -o
> -rwxr-x---+ 1 chicares 15051 Apr  7 10:03
> /usr/i386-pc-cygwin/include/mingw/stdio.h 

  But in very much the wrong place!
 
> [Perhaps this is related to the message that "C.W. Betts"
> posted on Sat, 7 Apr 2007 22:26:59 -0600 :
>   http://cygwin.com/ml/cygwin/2007-04/msg00240.html

  Almost certainly.  I notice in your cygcheck:

mingw-runtime        3.12-3

that you have the very latest mingw-runtime package, released just yesterday.
Try using setup.exe to roll that back to the prev version; that should fix it
for you.  We seem to have a packaging problem, the headers should live in
/usr/include/mingw!

> I have only just subscribed to this mailing list and don't know
> any way to reply to a message that predates my subscription.]

  Check the welcome message, it has instructions on how to request any past
post to the list.  To find the message number, go to that url you posted,
click on the 'raw text' link and you'll see the number prominently in the
first few headers; in this case, we go to 

http://cygwin.com/cgi-bin/get-raw-msg?listname=cygwin&date=2007-04&msgid=BAY13
3-DAV140C80A0A4AF0696D8237DB95A0%40phx.gbl

and see there:

From cygwin-return-131864-listarch-cygwin=sourceware dot org at cygwin dot com
Sun Apr 08 04:28:14 2007
Return-Path: <cygwin-return-131864-listarch-cygwin=sourceware dot org at
cygwin dot com>

so if you send email to "cygwin-get.131864" AT the usual sourceware dot org
address, you'll receive a reply with the original post as an attachment; you
can then reply to that and keep threading intact.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


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