討論串gcc link的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者zxvc (zxvc)時間18年前 (2007/03/16 09:14), 編輯資訊
1
0
1
內容預覽:
請問要如何下-l指令的時後,ld會自己去找libxxx.so.123來link.. 比如說在寫GTK+的程式的時後,我們會下這個指令. $ gcc test.c -o test -lgtk-x11-2.0. 然後用ldd查尋它的shared library相依性時會顯示:. libgtk-x11-2
(還有505個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者zxvc (zxvc)時間18年前 (2007/03/16 10:36), 編輯資訊
0
0
3
內容預覽:
我其實在man ldconfig時也查出一些蛛絲馬跡.. man ldconfig:. ldconfig checks the header and file names of the libraries it. encounters when determining which versions
(還有838個字)
首頁
上一頁
1
下一頁
尾頁