Compiling Bersirc on Win32 using MinGW

Firstly, get and install a copy of MinGW: http://www.mingw.org/download.shtml
The MinGW downloads page can be confusing.. You want the MinGW-VERSION.exe package (below).

At the time of writing, the latest version could be found at http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download

After installing MinGW, open up a command prompt ( "Start -> Run -> cmd" or "Start -> Run -> command" ).

Extract the bersirc and claro tarballs to a directory, here we'll assume C:\dev.

If you installed MinGW somewhere other than C:\MinGW\ and MinGW is not in your path, you must edit compile.bat in both the Claro and Bersirc source directories and replace c:\MinGW with the path to MinGW.

Where VER is mentioned below, replace it with the version you have.

Run the following to compile Claro:

cd C:\dev\claro-VER
compile
This will install Claro to \claro (C:\claro if you used C:\dev for the sources).

Next, compile Bersirc:
cd C:\dev\bersirc-VER
compile
You should now have a compiled version of Bersirc, and the claro DLL should have been copied to the same directory. You can now test by opening it from explorer, or by running:
bersirc