Hey folks;
I saw a message about wanting win32 binaries with SSL support, and the issue of
downloading questionable binaries, so I did a bit of tinkering.
Here is some documentation to be added to the fossil-scm wiki:
Building Fossil on Windows - mingw
Using mingw
Download portable mingw 5.1.4, available from portableapps.com
http://portableapps.com/node/18601
Start up the portable dev enviroment by running MSYSPortable.exe
Change to a working directory:
$ cd /c/dev/fossil/src
I download the zlib source files from zlib.net:
http://zlib.net/zlib-1.2.4.tar.gz
Extract zlib source:
tar zxvf zlib-1.2.4.tar.gz
This puts the source code in /c/dev/fossil/src/zlib-1.2.4
Build the zlib library:
$ cd /c/dev/fossil/src/zlib-1.2.4
$ make -f ./win32/Makefile.gcc
(Should build with no errors.)
Download fossil-src from http://www.fossil-scm.org/download.html
http://www.fossil-scm.org/download/fossil-src-20100318142033.tar.gz
Extract fossil-src:
$ tar zxvf fossil-src-20100318142033.tar.gz
$ cd fossil-src-20100318142033
Edit Makefile.w32
Add zlib to TCC line:
Before:
TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include
After:
TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include
-I../zlib-1.2.4 -L../zlib-1.2.4
$ make -f Makefile.w32
This builds a 'fossil.exe'.
-rppowell
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users