This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Implicit make woes
- To: cygwin <gnu-win32 at cygnus dot com>
- Subject: Implicit make woes
- From: Allan Peda <allan at interport dot net>
- Date: Fri, 27 Nov 1998 22:40:08 -0500
Obviously something is set wrong ($INCLUDE or similiar), but the more I
fuss with this the worse it gets. Explicit compiling is fine:
bash-2.02$ gcc hello.c -o hello.exe
bash-2.02$ ./hello
hello GNUish world!
But an implicit make (single source, no makefile) yields:
bash-2.02$ rm hello.exe
bash-2.02$ make hello
/bin/gcc.exe hello.c -o hello
hello.c:1: No include path in which to find stdio.h
make: *** [hello] Error 1
bash-2.02$
I tried moving stdio.h to /usr/include, but that just changed the
error. I will probably reinstall, but I'd like to know why make should
foul up a simple compile.
Allan
begin:vcard
n:Peda;Allan
tel;work:718-243-1721
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:allan@interport.net
fn:Allan Peda
end:vcard