作者kenji30401 (谦二)
看板MacDev
标题[问题] Static linking of user binaries on Mac OS X
时间Fri Nov 30 19:52:15 2007
大家好, 虽然都有在看这个板, 但从没想过自己会 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)