This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: X11 includes and libraries path configuration
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- To: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- Date: Sun, 13 Jan 2002 17:38:32 -0500
- Subject: RE: X11 includes and libraries path configuration
> -----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