This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: help!
- To: "'Liu Wang'" <Wang at sigprowireless dot com>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: RE: help!
- From: Troy Noble <troy dot noble at channelpoint dot com>
- Date: Wed, 15 Aug 2001 08:29:54 -0600
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@sigprowireless.com]
Sent: Wednesday, August 15, 2001 8:20 AM
To: 'cygwin@cygwin.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@sigprowireless.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/