看板
[ LinuxDev ]
討論串gcc link的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
請問要如何下-l指令的時後,ld會自己去找libxxx.so.123來link.. 比如說在寫GTK+的程式的時後,我們會下這個指令. $ gcc test.c -o test -lgtk-x11-2.0. 然後用ldd查尋它的shared library相依性時會顯示:. libgtk-x11-2
(還有505個字)
內容預覽:
我其實在man ldconfig時也查出一些蛛絲馬跡.. man ldconfig:. ldconfig checks the header and file names of the libraries it. encounters when determining which versions
(還有838個字)
首頁
上一頁
1
下一頁
尾頁