C++我可以将其与我的应用程序捆绑在一起的编译器
我正在开发自己的编程语言,为了生成可执行文件,我希望将源代码转换为 C++ 并通过 C++ 编译器运行它。
有谁知道 C++ 编译器,我可以简单地将其包含在我的应用程序中,然后从命令行调用而无需安装?
我正在使用 Windows。
预先感谢,汤姆。
编辑: 看起来 gcc 是可行的方法,设置起来会很痛苦,人们会建议捆绑安装文件,然后将编译器安装为我的程序安装的一部分吗?
I'm working on developing my own programming language, and to generate executables I wished to convert the source to C++ and the run it through a C++ compiler.
Does anybody know of a C++ compiler which I can simply include with my application and then invoke from the command line without installation?
I'm using Windows.
Thanks in advance, Tom.
Edit:
It seems gcc is the way to go and it would be a pain to set up, would people recommend bundling the installation file instead and then installing the compiler as part of the installation of my program?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你试过gcc(windows端口)吗?
Have you tried gcc (the windows port)?