mbreedlove
mbreedlove

Reputation: 336

Use MinGW in Eclipse on Linux

I was trying to make a C project in Eclipse 3.6.1, I chose the 'Cross-Compile Project' and the 'Cross Compiler' toolchain. However, when I compiled my project, the standard 'g++' compiler was used instead of 'i686-pc-mingw-g++', my MinGW compiler. Where can I configure the C/C++ compilers in Eclipse?

Upvotes: 1

Views: 4070

Answers (1)

Jesse Brands
Jesse Brands

Reputation: 2887

It's been a while since I used Eclipse for C development, but I think this is what you're looking for:

Right click your project -> select properties -> find build -> look around a bit for the command used to compile files, you want to set it to use MinGW instead.

Hope this helps you!

Upvotes: 2

Related Questions