Build MinGW Console application without CRT?

时光总嘲笑我的痴心妄想 提交于 2019-12-13 01:56:06

问题


I can build apps with MSVC without the CRT as directed here:

http://www.mvps.org/user32/nocrt.html

But how can this be done with MinGW? It seems to always pull in the CRT (msvcrt.dll) by default.

Edit: To be clear I'm trying to NOT link the CRT at ALL, not statically link it which I know isn't possible due to copyright issues.

来源:https://stackoverflow.com/questions/23218931/build-mingw-console-application-without-crt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!