> Recipe to build fossil using MinGW is present at > http://fossil-scm.org/index.html/finfo?name=win32.txt > > This works for me (note a small patch to install zlib): > - Install MinGW-5.1.4 (with g++ & make) > - Install MSYS-1.0.11 > - Run following commands in MSYS: > # Get zlib source & unpack > wget http://www.zlib.net/zlib-1.2.3.tar.bz2 > mkdir -p /usr/src > tar -xjvf zlib-1.2.3.tar.bz2 -C /usr/src > # Download and prepare zlib > wget http://gd.tuwien.ac.at/gnu/mingw/zlib-1.2.3-mingwPORT.tar.bz2 > tar -xjvf zlib-1.2.3-mingwPORT.tar.bz2 > - Apply following patch to zlib-1.2.3/mingwPORT/mingwPORT.sh: > --- patch -t $PATCHFLAGS < ${CURDIR}/mingwPORT.patch > +++ patch -d /usr/src -t $PATCHFLAGS < ${CURDIR}/mingwPORT.patch > - Run following commands in MSYS: > # Build zlib - answer various questions asked > cd zlib-1.2.3/mingwPORT/ > ./mingwPORT.sh > # Build fossil > cd C:/temp > fossil clone http://fossil-scm.org fossil.fsl > fossil open fossil.fsl trunk > make -f Makefile.w32 > strip fossil.exe > > - Altu > > use gnuwin32.sf.net to get missing packages download http://kent.dl.sourceforge.net/project/gnuwin32/zlib/1.2.3/zlib-1.2.3-lib.zip unzip in c:\mingw
all I had to do to compile under mingw was make -f makefile.win32 SRC=./src (I'm guessing here. it could be SRC=. but you need to something with SRC=) Rene _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

