[問題] Static linking of user binaries on Mac OS X

看板MacDev作者 (謙二)時間17年前 (2007/11/30 19:52), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
大家好, 雖然都有在看這個板, 但從沒想過自己會 po 文而不只是躲在推文內了Orz === 我是今天才知道 Apple 的 OS X 不支援靜態連結.... http://developer.apple.com/qa/qa2001/qa1118.html 內文提到: If your project absolutely must link statically and need crt0.o, you can get the Csu module from Darwin and try building crt0.o statically. Please bear in mind that you must then clearly specify to your customers the compatibility risks involved in installing a product that relies on statically linked code. 印象中 Darwin 已經被關掉很久了, 剛剛在網路上拜請咕狗大神還是神不到 Csu module. 請問板上的各位, 假如我一定要使用靜態連結, 卻又找不到文章提到的東東, 我該如何解決這個困境呢? 謝謝大家. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 202.132.137.70 ※ 編輯: kenji30401 來自: 202.132.137.70 (11/30 19:55)
文章代碼(AID): #17J_bm_y (MacDev)
文章代碼(AID): #17J_bm_y (MacDev)