【发布时间】:2013-12-10 14:01:18
【问题描述】:
我想在 Mac OS X 10.8.4 上静态链接 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.
【问题讨论】: