Windrop Central

News Compiling Downloads FAQ Links

How to compile Windrop 1.4.6

Download and install Cygwin, with the default base packages and the following additional packages:

Make sure the default Tcl version include with Cygwin isn't installed.

Open the Cygwin Bash Shell

Download and install Tcl 8.3.5 (823KB), just extract file to root directory
cd /
tar -zxf tcl-8.3.5.tar.gz

Download eggdrop 1.4.6 source code (678KB)

Download eggdrop 1.4.6 patch (30/06/2002)

Extract eggdrop source code
tar -zxf eggdrop1.4.6.tar.gz

Apply patch in the eggdrop source code directory
patch -p1 <  eggdrop1.4.6.patch

If you want to create an eggdrop with support for handles larger than 9 characters in length then
Open the eggdrop.h file the the src directory of eggdrop with a text editor (Don't use notepad!)
Change #define HANDLEN 9
To #define HANDLEN x
Change #define NICKMAX 9
To #define NICKMAX x
Where x is the maximum amount of characters allowed for handles, x can be any number from 9-32.
Then save the eggdrop.h file and exit the text editor
Make sure the text editor doesn't add any extra file extension to eggdrop.h like .txt

Connfigure the eggdrop source code

Make the modules and the eggdrop itself
make eggdrop

Install the eggdrop
make install DEST=C:/eggdrop

Remove symbolic links
cd c:/eggdrop
rm modules
rm eggdrop.exe
mv eggdrop.exe-1.4.6 eggdrop.exe
mv modules-1.4.6 modules

Copy Cygwin and TCL dll files to eggdrop directory
cp /bin/cygwin1.dll C:/eggdrop
cp /usr/local/bin/tcl83.dll C:/eggdrop
cp /usr/local/bin/tclpip83.dll C:/eggdrop

Copy the TCL libraries
mkdir C:/eggdrop/lib
cp -r /usr/local/lib/dde1.1 C:/eggdrop/lib
cp -r /usr/local/lib/reg1.0 C:/eggdrop/lib
cp -r /usr/local/lib/tcl8.3 C:/eggdrop/lib