X11 includes and libraries path configuration
Suhaib Siddiqi
ssiddiqi@inspirepharm.com
Mon Apr 1 00:00:00 GMT 2002
> -----Original Message-----
> From: Gabriel Antonio Arcos Acosta [mailto:gabrielarcos@cantv.net]
> Sent: Sunday, January 13, 2002 5:25 AM
> To: cygwin-xfree@cygwin.com
> Subject: X11 includes and libraries path configuration
>
> Hi all !!
>
> I have installed xfree binaries on cygwin, and I try to compile a
> simple
> piece of code:
>
> #include <X11/Intrinsic.h>
>
> int main()
> { return 0;}
>
> and the compiler fail, becouse it can find the file Intrinsic.h
>
> Actually the file is in /usr/X11R6/include
>
> what enviroment variable I have to set to the compiler can find it?
> and what
> is the variable to the linker can find the X11 libraries?
e.g gcc -O2 -g mysimple.c -I/usr/X11R6/include -L/usr/X11R6/lib
Suhaib
More information about the Cygwin-xfree
mailing list