Eclipse是Linux和Windows上C ++代码的跨平台IDE

时间:2022-05-18 02:07:00

I consider an option to use Eclipse as an cross platform IDE for C++ code on Linux and Windows.

我考虑使用Eclipse作为Linux和Windows上C ++代码的跨平台IDE的选项。

  1. Is it possible to set Eclipse to compile code with Visual Studio C++ (don't think it's relevant but Eclipse project files will be created by cmake).
  2. 是否可以将Eclipse设置为使用Visual Studio C ++编译代码(不要认为它是相关的,但Eclipse项目文件将由cmake创建)。

  3. Is it possible to debug from Eclipse application compiled by VS C++ compiler?
  4. 是否可以从VS C ++编译器编译的Eclipse应用程序进行调试?

  5. Is it possible to debug on Linux from Eclipse application compiled by g++?
  6. 是否可以在Linux上从g ++编译的Eclipse应用程序进行调试?

  7. What C++ IDE you prefer for Linux - Eclipse, Kdevelop or there're other alternatives?
  8. 您更喜欢Linux的C ++ IDE - Eclipse,Kdevelop还是其他选择?

Thanks Dima

2 个解决方案

#1


  1. No as far as I know. The alternative would be wascana project. Now that the new version of MinGw has been released and it uses gcc.4.4 I think that wascana will be able to compete against Visual Studio, but we still have to wait to the next release of wascana.
  2. 不,据我所知。替代方案是wascana项目。现在,MinGW的新版本已经发布,它使用gcc.4.4我认为瓦斯卡纳将能够针对Visual Studio的竞争,但我们还是要等待瓦斯卡纳的下一个版本。

  3. No as far as I know. Again wascana could be an alternative.
  4. 不,据我所知。再次wascana可能是另一种选择。

  5. Sure, try cmake -DCMAKE_BUILD_TYPE=Debug -G"Eclipse CDT4 - Unix Makefiles", build your project and create a debug configuration with eclipse. I've done it before with no problems at all.
  6. 当然,尝试使用cmake -DCMAKE_BUILD_TYPE = Debug -G“Eclipse CDT4 - Unix Makefiles”,构建项目并使用eclipse创建调试配置。我以前做过没有任何问题。

  7. I move from Emacs to Eclipse. I remember I evaluated Kdevelop but I discarded it for reasons unconnected to Kdevelop's quality itself. So I cannot give you my opinion. Another C++ crossplatform IDE is Code::Blocks, but I have never used it.
  8. 我从Emacs迁移到Eclipse。我记得我对Kdevelop进行了评估,但是由于与Kdevelop质量本身无关的原因我丢弃了它。所以我不能给你我的意见。另一个C ++跨平台IDE是Code :: Blocks,但我从未使用它。

#2


I do some C++ with Qt cross-platform development in Linux, Windows and Mac and I found Eclipse to be too heavy an environment to work with. As an IDE I preferred Qt Creator.

我在Linux,Windows和Mac上使用Qt跨平台开发做了一些C ++,我发现Eclipse过于繁重的环境无法使用。作为IDE,我更喜欢Qt Creator。

#1


  1. No as far as I know. The alternative would be wascana project. Now that the new version of MinGw has been released and it uses gcc.4.4 I think that wascana will be able to compete against Visual Studio, but we still have to wait to the next release of wascana.
  2. 不,据我所知。替代方案是wascana项目。现在,MinGW的新版本已经发布,它使用gcc.4.4我认为瓦斯卡纳将能够针对Visual Studio的竞争,但我们还是要等待瓦斯卡纳的下一个版本。

  3. No as far as I know. Again wascana could be an alternative.
  4. 不,据我所知。再次wascana可能是另一种选择。

  5. Sure, try cmake -DCMAKE_BUILD_TYPE=Debug -G"Eclipse CDT4 - Unix Makefiles", build your project and create a debug configuration with eclipse. I've done it before with no problems at all.
  6. 当然,尝试使用cmake -DCMAKE_BUILD_TYPE = Debug -G“Eclipse CDT4 - Unix Makefiles”,构建项目并使用eclipse创建调试配置。我以前做过没有任何问题。

  7. I move from Emacs to Eclipse. I remember I evaluated Kdevelop but I discarded it for reasons unconnected to Kdevelop's quality itself. So I cannot give you my opinion. Another C++ crossplatform IDE is Code::Blocks, but I have never used it.
  8. 我从Emacs迁移到Eclipse。我记得我对Kdevelop进行了评估,但是由于与Kdevelop质量本身无关的原因我丢弃了它。所以我不能给你我的意见。另一个C ++跨平台IDE是Code :: Blocks,但我从未使用它。

#2


I do some C++ with Qt cross-platform development in Linux, Windows and Mac and I found Eclipse to be too heavy an environment to work with. As an IDE I preferred Qt Creator.

我在Linux,Windows和Mac上使用Qt跨平台开发做了一些C ++,我发现Eclipse过于繁重的环境无法使用。作为IDE,我更喜欢Qt Creator。