Subject: Re: include and library paths
From: Chris Faylor <[email-masked]>
To: Ian T Zimmerman <[email-masked]>
Cc: [email-masked]
Date: Thu, 1 Jul 1999 15:20:56 -0400

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 [email-masked]