Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem Building Linking to Exe Files?
Problem Building Linking to Exe Files? [message #1109227] Sun, 15 September 2013 03:58
Billy Hau is currently offline Billy HauFriend
Messages: 1
Registered: September 2013
Junior Member
I was trying to the CDT to work with MinGW, but I am having a lot of trouble.

So basic info, I'm on a Windows 7 64 bit pc.

I install MinGW using their GUI installer, add MinGW the environment variable path, add the path to the nsys... and Eclipse was able to detect that. I create a HelloWorld project and it only build a .o file, even though the command say it's building a .exe also, but it's nowhere in the workspace folder. Even in the run configuration, it's set to launch a .o file, and of course, windows can't launch that. I use the search project button, there's no binaries file.

I tried to manually build the project through command line
 gcc -c HelloWorld.cpp -o HelloWorld.exe

it build a exe file, but windows say that I need a 64 bit version...

I also tried creating a new Eclipse project with cygwin, it build but doesn't run. After I include the dll file in the exe folder, it's fine.

So I don't know what's wrong with MinGW...

Any help? Thanks!
Previous Topic:make error 127 with beaglebone angstrom release
Next Topic:CDT debug compile; no spawner in java.library.path
Goto Forum:

Current Time: Mon May 28 03:35:03 GMT 2018

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

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

Back to the top