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.