编辑“︁
MinGW-w64
”︁(章节)
跳转到导航
跳转到搜索
脚本错误:没有“Mainspace editnotice”这个模块。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
==编译器== GCC支持的大多数编程语言也被MinGW-w64移植支持。包括C、[[C++]]、[[Objective-C]]、Objective-C++、[[Fortran]]、[[Ada语言|Ada]]。使用了GCC运行时刻库(libstdc++用于C++,libgfortran用于Fortran,等等)。MSYS2提供了[[LLVM]]的[[clang]]的包装。 支持Windows版ARM({{code|aarch64-w64-mingw32}}与{{code|armv7-w64-mingw32}})。<ref>{{cite web |title=Package: mingw-w64-x86_64-clang |url=https://packages.msys2.org/package/mingw-w64-x86_64-clang |website=MSYS2 Packages |accessdate=12 February 2020 |archive-date=2020-10-30 |archive-url=https://web.archive.org/web/20201030201711/https://packages.msys2.org/package/mingw-w64-x86_64-clang |dead-url=no }}</ref><ref>{{cite web |last1=Storsjö |first1=Martin |title=mstorsjo/llvm-mingw |url=https://github.com/mstorsjo/llvm-mingw |date=23 April 2020 |accessdate=2020-06-02 |archive-date=2020-11-29 |archive-url=https://web.archive.org/web/20201129065324/https://github.com/mstorsjo/llvm-mingw/ |dead-url=no }}</ref> 不同C++编译器(如Mindw-w64 GCC与Visual Studio)产生的二进制可执行程序一般互不兼容,因为使用了不同的[[应用程序二进制接口|ABI]]与[[名字修饰]]导致了C++运行时的差异。但被编译的C代码是链接时兼容的。<ref>{{Cite web |url=http://mingw.org/wiki/Interoperability_of_Libraries_Created_by_Different_Compiler_Brands |title=存档副本 |accessdate=2020-06-02 |archive-date=2020-11-30 |archive-url=https://web.archive.org/web/20201130131120/http://mingw.org/wiki/Interoperability_of_Libraries_Created_by_Different_Compiler_Brands |dead-url=no }}</ref> Clang是个例外,它广泛支持了MSVC的C++ ABI。<ref>{{cite web |title=MSVC compatibility |url=https://clang.llvm.org/docs/MSVCCompatibility.html |website=Clang 11 documentation |accessdate=2020-06-02 |archive-date=2021-01-26 |archive-url=https://web.archive.org/web/20210126081016/https://clang.llvm.org/docs/MSVCCompatibility.html |dead-url=no }}</ref>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息