$ gcc -o x11fred -L/usr/openwin/lib x11fred.c -lX11
will compile and link a program called x11fred using the version of the library libX11 found in the
/usr/openwin/lib directory.
posted on 2006-07-10 14:54
小鐵匠 閱讀(421)
評(píng)論(0) 編輯 收藏 所屬分類(lèi):
c/c++