Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse and visual studio perspectives(different perspective between eclipse and visual studio in development process)
eclipse and visual studio perspectives [message #1814272] Sat, 07 September 2019 20:29 Go to next message
Fabricio Fernandez is currently offline Fabricio FernandezFriend
Messages: 1
Registered: September 2019
Junior Member
When I compiling a c++ code in visual studio, the program is very portable in the sense that it can run in another windows system without any problems. When I compile it in windows using eclipse (oxygen and g++ cygwin compiler) the program do not run in another windows systems (same OS version). In general, I should to install the correct g++ run time libraries with cygwin installer in each machine I want to run the program. This is not very good in a practical way. In relation to this: 1) what is the correct way to compile my program (c++ and openmp lib) using eclipse (oxygen) in a way that the program will include all libs that it needs to run in another windows systems? 2) how I can do this in eclipse oxygen cdt particularly? thanks!
Re: eclipse and visual studio perspectives [message #1814366 is a reply to message #1814272] Tue, 10 September 2019 09:27 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
cygwin provides a linux-like environment for Windows.
If you compile for cygwin then you must have cygwin to run it.
To make standalone Windows executables with GCC you need to use MinGW.
You may still need to supply runtime DLLs.
You need to supply runtime DLLS for programs compiled by Visual Studio as well
but many are already available in any Windows installation.

Previous Topic:Build Error with Helios
Next Topic:Compiler intrinsic #defines not recognized by text editor for AVX2
Goto Forum:
  


Current Time: Sun Nov 03 00:38:29 GMT 2024

Powered by FUDForum. Page generated in 0.03252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top