This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: C libraries


Hi Martin,

Thank you very much for your advice so far. I think I have some more
troubles - I tried what you sugested below..

> My cygwin stdio.h is in %HOME%/usr/include
> assuming you are compiling from HOME folder you can
> SET INCLUDE=/usr/include
> make
> and you should be good to go..

$ cd ~

$ pwd
/home/rob

$ [ -f /usr/include/stdio.h ] && echo yes || echo no
yes

$ include=/usr/include && INCLUDE=/usr/include

$ set | grep include
INCLUDE=/usr/include
include=/usr/include

$ gcc text.c
In file included from /usr/include/stdio.h:29,
                 from text.c:1:
/usr/include/_ansi.h:16:24: sys/config.h: No such file or directory
In file included from text.c:1:

$

Do you know of anything else I might try? :(

Rob
:)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]