Hi,
Can anyone tell me how to set the link lib for gcc?
When I issue the command:
# cc mypg.c -lX11
I got an error message like: ld: cannot open -lX11:No such file or directory.
I checked the directory and the libX11.a just there in /usr/X11/lib. What
should I do? I already include the path /usr/X11/lib in my env, and read
the man for gcc, but didn't get it.
Thanks!
Y. Wang