VS2010和针对Linux * AND * Windows的编译 [英] VS2010 and Compiling for Linux *AND* Windows

查看:89
本文介绍了VS2010和针对Linux * AND * Windows的编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个项目中,当前正在使用QT框架使用QT Creator开发代码.我们遇到了一个又一个问题,并且有效地停止了开发工作,直到我们解决问题为止(一种方法或另一种方法).

一种方法是强制VS2010为我们工作(这是在很大范围内首选的解决方案).

我们必须能够使用GCC进行编译,但是我的问题是-VS2010调试器能否在GCC应用程序上运行?

I''m on a project where the code is currently being developed with QT Creator, using the QT framework. We''ve run into problem after problem, and we''ve effectively stopped development until we resolve the problem (one way or the other).

One approach is to force VS2010 to work for us (this is the preferred solution by a very wide margin).

We have to be able to compile using GCC, but my question is this - will the VS2010 debugger work on a GCC application?

Is there a better option that DOESN''T include QT Creator?

推荐答案

我从来没有使用VS来开发Linux应用程序...那里的一切都准备好了吗?对Windows.我非常确定调试器不会使用gcc编译的源代码(因为它不一定了解所有的构建产品/调试信息).

但是,您可能可以使用类似以下的内容:
http://visualgdb.com/ [ ^ ]

这是之前问过的相同问题(堆栈溢出):
http://stackoverflow.com/questions/2206388/debug-of-cygwin-gcc-compiled-programs-by-visual-studio-2008 [
I''ve never used VS for developing Linux apps... everything in there is geared towards Windows. I''m pretty sure the debugger wouldn''t work with a gcc compiled source (since it wouldn''t necessarily understand all the build products/ debug information).

You may however, be able to use something like this:
http://visualgdb.com/[^]

Here''s the same question asked before (stack overflow):
http://stackoverflow.com/questions/2206388/debugging-of-cygwin-gcc-compiled-programs-by-visual-studio-2008[^]


这篇关于VS2010和针对Linux * AND * Windows的编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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