This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: include and library paths


On Thu, Jul 01, 1999 at 06:52:08PM +0000, Ian T Zimmerman wrote:
>Hi, do the C_INCLUDE_PATH and LIBRARY_PATH envars work as advertised
>(and as they work on Unix installataions of gcc & friends)?
>
>I do this:
>
>amazon:~$ printenv C_INCLUDE_PATH
>/usr/X11R6.4/LessTif/Motif2.0/include/:/usr/X11R6.4/include/
>amazon:~$ ls -l /usr/X11R6.4/include/X11/Intrinsic.h
>-r--r--r--   1 administ None        73459 Nov  3  1998 /usr/X11R6.4/include/X11/Intrinsic.h
>amazon:~$ cat stupid_test.c
>#include <X11/Intrinsic.h>
>amazon:~$ gcc -E stupid_test.c
>stupid_test.c:1: X11/Intrinsic.h: No such file or directory
># 1 "stupid_test.c"

Try doing a "gcc -v -E stupid_test.c" to see what libraries are
being searched.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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