<div dir="ltr">Thanks Marcel!!  Can I fold this into my makefiles?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 12:43 AM, Marcel Taeumel <span dir="ltr">&lt;<a href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de" target="_blank">marcel.taeumel@student.hpi.uni-potsdam.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi, there! ---<br>
<br>
As Cygwin seems to be not offering gcc-v3 mirrors anymore, here is a<br>
step-by-step tutorial to build the CogVM for Windows 7 machines (and later,<br>
I suppose) using MSYS:<br>
<br>
1. Install the &quot;MinGW Package Download and Installation Tool&quot;<br>
   &gt; <a href="http://www.mingw.org" target="_blank">http://www.mingw.org</a><br>
   &gt; <a href="http://sourceforge.net/projects/mingw/files/Installer/" target="_blank">http://sourceforge.net/projects/mingw/files/Installer/</a><br>
   ! Remember your installation path, e.g. C:\MinGW<br>
2. Run it and install the following classified under &quot;Basic Setup&quot;:<br>
   &gt; msys-base<br>
   &gt; mingw32-base<br>
3. Run MSYS and setup PATH variable:<br>
   &gt; EITHER make /mingw/bin accessible (e.g. add symbolic link to /c/MinGW)<br>
   &gt; OR add /c/MinGW/bin to PATH (=&gt; my choice)<br>
4. Install or downgrade the following packages via MSYS (close the MinGW<br>
   installation tool first). If you downgrade, you may have to uninstall the<br>
   current version first:<br>
   &gt; DOWN: mingw32-binutils 2.22-1 (fix windres.exe behavior)<br>
   &gt; NEW: mingw32-gcc-v3-core 3.4.5-20060117-3<br>
   &gt; NEW: mingw32-gcc-v3-g++ 3.4.5-20060117-3<br>
   &gt; DOWN: mingw32-mingwrt 3.20-2 (needed for linking gcc-v3 object files)<br>
   &gt; DOWN: mingw32-w32api 3.17-2 (needed for linking gcc-v3 object files)<br>
   ! MSYS command example: &quot;mingw-get --install reinstall binutils=2.22-1&quot;<br>
5. Checkout SVN repository with CogVM source<br>
   &gt; <a href="http://squeakvm.org/svn/squeak/branches/Cog" target="_blank">http://squeakvm.org/svn/squeak/branches/Cog</a><br>
   ! Remember your checkout path, e.g. C:\Tools\cogvm<br>
6. Adapt /c/Tools/cogvm/cygwinbuild/Makefile<br>
   &gt; Adapt -L option for LDFLAGS and CONSOLELDFLAGS to your MSYS environment<br>
   &gt; Maybe exchange --export-dynamic with --export-all-symbols<br>
7. Adapt /c/Tools/cogvm/cygwinbuild/plugins.ext<br>
   &gt; Remove BochsIA32Plugin because it will not build<br>
8. Adapt /c/Tools/cogvm/cygwinbuild/Squeak.rc if needed, e.g.:<br>
   &gt; Use custom icons and descriptions to identify your build artifact<br>
     later on :)<br>
9. Run the script ./c/Tools/cogvm/cygwinbuild/mvm<br>
   &gt; chmod +x it if needed<br>
<br>
It should build fine with the results added to cygwinbuild/build*.<br>
<br>
Best,<br>
Marcel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/HowTo-Compile-CogVM-for-Windows-7-using-MinGW-MSYS-tp4709963.html" target="_blank">http://forum.world.st/HowTo-Compile-CogVM-for-Windows-7-using-MinGW-MSYS-tp4709963.html</a><br>

Sent from the Squeak VM mailing list archive at Nabble.com.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div>