[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: where is cc -lXm link to?



eric wrote:
> 
> Dear rh7.2 user:
> 
>   I need to compile a c program using X library especially Lesstif
> widget sets,
> do any of you know where is cc -lXm -lXt -lX11  link to?   I read man
> gcc, it only said it link to a libary,   In /lib there is no X11 at all.
> 
>  highly appreciate your help
> 

	You need -L option to indicate gcc where is de library path.


	Try  "cc -L/usr/X11R6/lib -L/usr/local/lesstif lXm -lXt -lX11 ..."





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]