Please keep replies to the mailing list ONLY. Write a Makefile. Suhaib
> -----Original Message----- > From: Gabriel Antonio Arcos Acosta [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 13, 2002 5:37 AM > To: Suhaib Siddiqi > Subject: Re: X11 includes and libraries path configuration > > but what I have to do to the compiler find the includes and libs > automatically, something like adding to PATH ?? > > ----- Original Message ----- > From: "Suhaib Siddiqi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, January 13, 2002 6:38 PM > Subject: RE: X11 includes and libraries path configuration > > > > > > > > > -----Original Message----- > > > From: Gabriel Antonio Arcos Acosta [mailto:[EMAIL PROTECTED]] > > > Sent: Sunday, January 13, 2002 5:25 AM > > > To: [EMAIL PROTECTED] > > > 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 > >
