2
我想在Mac OS X 10.8.4上靜態鏈接libstdC++,以便可以在其他系統中使用該二進制文件。在Mac OS X上靜態鏈接libstdC++
我發現了一些關於linux的討論。我想知道什麼會爲Mac OS X.
http://www.trilithium.com/johan/2005/06/static-libstdc/
說明我有以下的GCC。
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.