Compiled dmd2.032 in VC++ 2009!

Rainer Schuetze r.sagitario at gmx.de
Mon Sep 7 00:51:55 PDT 2009


For those who like to stick with the DMC compiler to build DMD, but 
still want the bells and whistles of the Visual Studio IDE, here's what 
I do:

- setup a makefile project that builds DMD using win32.mak
- add the source-files to the project to get intellisense support (don't 
forget to add preprocessor-defines MARS,DEBUG,etc. to the project settings)
- add the line
   cv2pdb -C dmd.exe
somewhere appropriate (e.g. the debdmd target) in win32.mak to get 
source level debugging on dmd.exe

You'll need cv2pdb from http://www.dsource.org/projects/cv2pdb

(sorry for the advertisement, but I could not resist ;-) ).

Rainer



More information about the Digitalmars-d mailing list