6 Make sure that you have installed the ws2_32.lib, which is part of the Microsoft SDK.
12 download and install mingw_get_inst-?????
18 Set the MINGW_HOME environment variable.
19 Add %MINGW_HOME%\msys\1.0\bin;%MINGW_HOME%\bin; to your PATH
20 Open a command shell and make sure that gcc is working: gcc
\96v
24 Build and install libelf with mingw, or download the pre-compiled patch and copy it into your mingw root folder.
25 https://gitorious.org/mingw-libs-for-simavr/mingw-libs-for-simavr/trees/master
29 Build and install freeglut with mingw, or download the pre-compiled patch and copy it into your mingw root folder.
30 https://gitorious.org/mingw-libs-for-simavr/mingw-libs-for-simavr/trees/master
35 If you have not already, download and install WinAVR.
36 http://winavr.sourceforge.net/
37 (This tutorial assumes you are using WinAVR-20100110.)
38 Make sure that AVR32_HOME is set correctly and pointing do your WinAVR installation directory.
39 %AVR32_HOME%\bin\gcc
\96v
40 In the output you see that the target is avr, while the target of the host gcc is mingw32.
48 Download the patched simavr sources of the mingw branch from:
49 https://github.com/the-real-orca/simavr/tree/mingw
50 and extract the sources to your development directory
51 - or - clone the GIT repository
52 https://github.com/the-real-orca/simavr.git
53 and switch to the mingw branch
59 Open a command window and change to your simavr directory:
62 make
\96r all (this is a bit faster)
67 make
\96C tests run_tests
73 make install DESTDIR=C:\path-to-your-development-directory
75 It will create the following sub-directories and put the according simavr files into them.