How do I set my Visual studio 2008 compiler to GNU GCC. Can I also make it specific to projects? I didn’t find any conclusive answer.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t use the compiler directly.
You can, however, invoke a makefile instead of using the built-in build system.
Example of configuration:
mingw32-makemingw32-makecalledMinGWMakefile, with 3 targets:clean,build, andrebuild. This can be very tedious if you’ve never done that before.Enable “go to line” functionality on compiler messages:
You need to transform the output of gcc, from this:
To this:
I was using a custom C++ program to do that, but any regular expression tool will do the trick.