我嘗試確定Mac OS X上的gcc5.1端口(Yosemite 10.10.3)運行libstdC++的哪個版本。在mac os x上的libstdC++ 6.dylib版本號是什麼意思?
的otool
命令提供了以下信息:
/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)
什麼是version 7.21.0
意思? libstdC++ 7確實存在?
感謝您的幫助。這很有幫助! –
經過一些研究並在_gcc-help_郵件列表的人員的幫助下,以下頁面描述了隨gcc提供的庫版本:[https://gcc.gnu.org/onlinedocs/libstdc++/manual /abi.html#abi.versioning.history](https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html#abi.versioning.history)。因此,要回答我的問題,gcc5.1附帶的libstdC++版本是:** libstdC++。so.6.0.21 **。 –