delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/26/14:00:15

From: chahn AT sd DOT aonix DOT com (Christopher Hahn)
Subject: Question
26 Jan 1998 14:00:15 -0800 :
Message-ID: <3.0.32.19980126133555.0090ed80.cygnus.gnu-win32@helios>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hello,

I am trying to compile a hello_world with gcc running on my NT box.

I am getting the message that it cannot find stdio.  
     "fooby.c:1: stdio: No such file or directory"
  
I have mounted the install directory as /usr and I have seen that this 
makes "/usr/lib" make sense, but the "/usr/include" does not exist.  
i.e. it is really "/usr/i386-cygwin32/include"

I have mounted root properly, and have set C_INCLUDE_PATH, and whatever
else I could think of.

I also tried using: gcc fooby.c -I/usr/i386-cygwin32/include
and                 gcc fooby.c -ID:/Where/it/lives/include

While I get the _distinct_ impression that this is a simple question,
I must ask anyway. (I have read the FAQ)

Thanks for the time, and please respond with direct email 
(chahn AT aonix DOT com) also,

Christopher

P.S. Using #include "Actual Path to stdio.h" works.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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