[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Help for cc ...




On Tue, 9 Nov 1999, Mahamood Hussain wrote:

> 
> When trying to compile with :
> 
> cc -o xhello xhello.c -lX11
> 

try cc -o xhello xhello.c -lX11 -L/usr/X11R6/lib

this will tell the linker to look into /usr/X11R6/lib for libX11


Regards,

Sojan,

-----------------------------------------------------------
Sojan James | Scientist | http://cair.res.in
Institute for Robotics and Intelligent Systems.
C/o CAIR, Raj Bhavan Circle, High Grounds,
Bangalore 560-001 | Ph: 2265496 
-----------------------------------------------------------


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.