GCC with Visual Studio?

后端 未结 3 1521
情歌与酒
情歌与酒 2020-11-28 23:35

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 (unles

相关标签:
3条回答
  • 2020-11-29 00:10

    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++.

    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.

    0 讨论(0)
  • 2020-11-29 00:19

    See the thread "Use a gcc port to build programs with Visual Studio" in MSDN's forums for similar discussion.

    You can use makefiles and also use WinGDB for better integration (including debugging)

    0 讨论(0)
  • 2020-11-29 00:21

    You can use Visual GDB add-in for Visual Studio that simplify work with GCC

    0 讨论(0)
提交回复
热议问题