This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: 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


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