海湾合作委员会与 Visual Studio? [英] GCC with Visual Studio?

查看:26
本文介绍了海湾合作委员会与 Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 2008 中使用 GCC 而不是 VC++ 会有多难?很明显,有些关键字不会匹配,有些可能无法获得语法高亮(除非您制作了新的语言服务).

How hard would it be to use GCC instead of VC++ from within Visual Studio 2008? Obviously, some of the keywords won't match, and some may not get syntax highlighting (unless you made a new language service).

这几乎是makefile 项目"的用途吗?

Is this what a 'makefile project' is for, pretty much?

推荐答案

没有用于 Visual Studio 的 GCC 插件,例如用于英特尔 C++ 的插件,它允许英特尔的编译器用作 Visual C++ 的直接替代品.

There is no GCC plugin for Visual Studio as the one for example for Intel C++, which allows Intel's compiler to be used as a drop-in replacement for Visual C++.

您可以使用 Makefile 项目,它允许您使用任何您喜欢的外部工具(make、SCons、jam 等等)来进行构建.如果您不喜欢 Makefile,您可能需要查看 CMake,它允许您生成 Makefile 或 Visual Studio 项目从一个更简单的描述.这也意味着您不受 Makefile 或 Visual Studio 项目的约束,但可以根据需要在它们之间切换.

You can use Makefile projects which allows you to use any external tool you like (make, SCons, jam, whatever) to do your build. If you don't like Makefiles, you may want to look at CMake which allows you to generate Makefiles or Visual Studio projects from a much simpler description. This also means that you're not bound to Makefiles or Visual Studio projects, but can switch between them as you like.

这篇关于海湾合作委员会与 Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆