Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » .exe don´t work in other pc
.exe don´t work in other pc [message #975251] Wed, 07 November 2012 18:34 Go to next message
Elena Perez is currently offline Elena PerezFriend
Messages: 1
Registered: November 2012
Junior Member

I´ve created with eclipse juno (64) with MinGW (32) a .exe
but this executable does not work in other pc without MinGW (.dll).

How can eclipse create a .exe that does not need .dll???
Thank you.
Re: .exe don´t work in other pc [message #978860 is a reply to message #975251] Sat, 10 November 2012 11:44 Go to previous message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member

you could use this linker options to build a statically linked version (but this will increase the size of the executable!):

-static-libgcc -static-libstdc++

Add them under Project -> Properties -> C/C++Build -> Settings -> Linker -> Miscellaneous

But you also should study the GCC manuals:


Previous Topic:Eclipse suppresses parallelization with OMP?
Next Topic:Remote Debugging using Juno
Goto Forum:

Current Time: Sat Apr 21 10:11:01 GMT 2018

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

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