views:

848

answers:

1

I want to write a program to link with binaries already created with VC++. What are the steps to add a toolchain for VC++ in Eclipse? Has anyone tried it successfully? If so, does the debugger still work?

+3  A: 

There is a toolchain implementation for VC++. The build plugin is called org.eclipse.cdt.msw.build, and there is a set of debugger plugins called org.eclipse.cdt.msw.debug.*. I think the build integration works, but the debugger integration still needs some work before it is usable.

Doug Schaefer on the CDT team has blogged about this several times, and has been running the Wascana project for some time to this end. Unfortunately, he's no longer working actively on Wascana.

If you wanted to put in some effort in bringing the VC++ toolchain and debug support closer to working condition, it would be very appreciated. I know that there are many people who would like to have that (myself included).

(The cdt-dev list can surely help you with further help and pointers.)

JesperE
Sounds like a very useful project for someone. I'm pretty well booked though. I guess I'll use MinGW. I don't want to be trapped using VisualStudio Express for IDE debugging.
User1
If you want to use DLLs created by Visual Studio, MinGW will do fine. Static libs are more difficult, though.
JesperE
I am VERY happy after switching to MinGW. I like the fact that msys gives me a shell to do the old ./configure make. I can now use most Unix libraries in Windows. I built postgres from source in about two minutes. I also built Boost and zlib and it seemed to go very smooth. It is really like I'm using Unix, but end up with a Windows .exe that can be run natively. Very cool! Forget VC++, use MinGW!!!
User1