[Vm-dev] compiling VM with MSVC
Das.Linux at gmx.de
Mon Dec 10 22:00:05 UTC 2018
> On 10.12.2018, at 22:14, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> Hi Eliot,
> yes I did that in the past too for other projects (even with NMAKE).
> Compiling is one thing, having the IDE configured is another (for debugging, for directly linking compiler warnings to source code, and for easing navigation, jumping to definition of a variable etc...).
true dat. Same for Xcode files (or Eclipse CDT…)
> Le lun. 10 déc. 2018 à 07:56, Eliot Miranda <eliot.miranda at gmail.com> a écrit :
> Hi Nicolas,
> On Thu, Dec 6, 2018 at 1:39 AM Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> Last year, I've tried to compile opensmalltalk vm with MSVC but, it was not possible with 2017 edition...
> Good news, it seems that Mircrosoft made progress since then:
> MSVC can be interesting for a few things:
> - a relatively good debugger for the C world - I know, it's difficult to sell this to Smalltalkers :)
> - easier integration of native libraries than thru mingw
> - complementary set of compilation warnings (and runtime errors) to help polishing some corner cases of our code generator.
> Of course, without CMake, we're back to manually crafting a MSVC project, but it can pay when chasing hard bugs (which I was after last year).
> At least Craig Latta, and maybe others, have adapted my makefiles to compiling with MSVC. It should be possible to write the makefiles to select the relevant compiler as an option. There is nothing magic about those project files and no reason why makefiles cannot drive a MSVC build. In fact, I've helped Ron Teitelbaum do just this for Terf.
> best, Eliot
More information about the Vm-dev