Changes between Version 4 and Version 5 of Platforms/Windows

Show
Ignore:
Timestamp:
09/14/10 16:48:55 (4 years ago)
Author:
nwellnhof
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Platforms/Windows

    v4 v5  
    5353nmake test 
    5454}}} 
     55 
     56==== How to compile Parrot VM using Strawberry Perl and Microsoft Visual Studio 2010 ==== 
     57 
     58Strawberry Perl is community-driven full featured Perl for Windows 
     59systems. Parrot's `Configure.pl` determins compiler options from Perl 
     60executable. Unfortunately, Strawberry Perl has been compiled with gcc, 
     61so `Configure.pl` will try to use gcc's options on VS compiler and 
     62linker, which will result in nothing - you won't be able to 
     63compile/test Parrot. In oreder to fix that you have to set up 
     64compiler's options manually. 
     65 
     66First of all, open Visual Studio Command Prompt (Windows->Microsoft 
     67Visual Studio 2010->Visual Studio Tools), then navigate to directory, 
     68where you have Parrot's sources.  
     69 
     70I use the following options: 
     71 
     72{{{ 
     73perl Configure.pl --without-icu --cc=cl --link=link --ld=link \ 
     74    --ccflags="-nologo -GF -W4 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE \ 
     75    -DNO_STRICT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC" \ 
     76    --linkflags="-nologo -nodefaultlib -debug" --verbose 
     77}}} 
     78 
     79This should create a Makefile for bare minimum Parrot install. 
     80 
     81Now you can run `nmake`. Enjoy your parrot.exe. 
    5582 
    5683==== Setting up the cpan shell ====