delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <8F23E55D511AD5119A6800D0B76FDDE1CA302C@cpex3.channelpoint.com> |
From: | Troy Noble <troy DOT noble AT channelpoint DOT com> |
To: | "'Liu Wang'" <Wang AT sigprowireless DOT com>, |
"'cygwin AT cygwin DOT com'" | |
<cygwin AT cygwin DOT com> | |
Subject: | RE: help! |
Date: | Wed, 15 Aug 2001 08:29:54 -0600 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
X-Scanned-By: | MIMEDefang 1.0 (http://www.roaringpenguin.com/mimedefang/) |
stdio.h is in /usr/include An explicit -I/usr/include should pick it up. But you shouldn't need to do that. gcc searches /usr/include by default. What do your mount points look like? bash$ mount c:\cygwin\bin on /usr/bin type user (textmode) c:\cygwin\lib on /usr/lib type user (textmode) c:\cygwin on / type user (textmode) Also try a gcc --verbose hello.c -o hello and see what include directories gcc is trying to use, and make sure they map to valid mount points. I guess you could have forgotten to install a package? Did you install all packages via setup as recommended by the instructions? Troy -----Original Message----- From: Liu Wang [mailto:Wang AT sigprowireless DOT com] Sent: Wednesday, August 15, 2001 8:20 AM To: 'cygwin AT cygwin DOT com' Subject: help! Dear Sir/Madam, I've just installed the cygwin with "setup" . I failed to compile the "Hello world" with the following information: ---------------------------------------------------------------------------- ---------------- c:\cygwin\bin\>gcc hello.c -o hello.exe hello.c:1: stdio.h: No such file or directory. ---------------------------------------------------------------------------- ---------------- May I expect somebody's help in configuring the make file ? Sincerely, Liu Software Engineer Sigpro Wireless Inc. Tel: 7271161 Ext.117 wang AT sigprowireless DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |