不同的C++一个项目中的编译器? (MSVC和GNU C++兼容性)
一个非常简单的C ++问题,更针对编译器: 假设我使用最新的Microsoft Visual C ++编译器创建一个静态库( .lib)或动态链接库( .dll)。
如果标题文件可用,我还可以在GNU C ++编译器项目(在同一操作系统中)中直接使用此类库吗?
那是不兼容的,是吗? (我首先考虑不同的ABI等。)
非常感谢。
PS:我有一个未知的第三方库(LIB)。我可以在这里找出使用哪个编译器来生成它吗?
A very simple C++ question that is more aimed at the compilers:
Suppose I create a static library (.lib) or a dynamic linked library (.dll) with the latest Microsoft Visual C++ compiler.
Can I also use such a library directly in GNU C++ compiler projects (within the same operating system) if the header files are available?
That's not compatible with each other, is it? (I'm thinking first of a different ABI etc.)
Many Thanks.
PS: I have an unknown 3rd party library (lib) available. Can I find out here which compiler was used to generate it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论