Changes To compillingOnWindows
Not logged in

Changes to "compillingOnWindows" between 2010-08-28 11:04:09 and 2010-08-28 11:54:18

            1  +<h3>Compiling under windows with sdk compiler</h3>
            2  +  *  download [http://www.microsoft.com/downloads/details.aspx?familyid=C17BA869-9671-4330-A63E-1FD44E0E2505&displaylang=en|Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1]. Install and configure.
            3  +  *  download the [http://zlib.net/|zlib source].
            4  +  *  unzip it. I assume c:\src\zlib
            5  +  *  open VIA START MENU "SDK..." > cmd shell
            6  +  *  mkdir c:\msc\extra\lib, c:\msc\extra\include
            7  +  *  copy zlib.lib c:\msc\extra\lib
            8  +  *  copy zlib.h and zconf.h to c:\msc\extra\include
            9  +  *  checkout fossil. assume c:\src\fossil
           10  +  *  cd \src\fossil
           11  +  *  fossil update windowscompilers
           12  +  *  mkdir msc\
           13  +  *  cd msc
           14  +  *  nmake -f ..\win\Makefile.msc
           15  +  
           16  +<h3>Compiling under windows with Digital Mars C compiler</h3>
           17  +  *  download [http://www.digitalmars.com/download/freecompiler.html|Digital Mars c-ompiler]. unzip to c:\
           18  +  *  download the [http://zlib.net/|zlib source].
           19  +  *  unzip it and compile
           20  +  *  open dosbox
           21  +  *  mkdir c:\DM\extra\lib, c:\DM\extra\include
           22  +  *  copy zlib.lib c:\DM\extra\lib
           23  +  *  copy zlib.h and zconf.h to c:\DM\extra\include
           24  +  *  checkout fossil. assume c:\src\fossil
           25  +  *  cd \src\fossil
           26  +  *  fossil update windowscompilers
           27  +  *  mkdir dmc\
           28  +  *  cd dmc
           29  +  *  c:\DM\bin\make -f ..\win\Makefile.dmc
           30  +
           31  +<h3>Compiling under Wine with Digital Mars C compiler</h3>
           32  +  *  download [http://www.digitalmars.com/download/freecompiler.html|Digital Mars c-ompiler]. unzip to c:\
           33  +  *  download the [http://zlib.net/|zlib source].
           34  +  *  unzip it
           35  +  *  open dosbox "wineconsole cmd"
           36  +  *  compile zlib
           37  +  *  mkdir c:\DM\extra\lib, c:\DM\extra\include
           38  +  *  copy zlib.lib c:\DM\extra\lib
           39  +  *  copy zlib.h and zconf.h to c:\DM\extra\include
           40  +  *  checkout fossil. assume c:\src\fossil
           41  +  *  cd \src\fossil
           42  +  *  fossil update windowscompilers
           43  +  *  mkdir dmc\
           44  +  *  cd dmc
           45  +  *  c:\DM\bin\make -f ..\win\Makefile.dmc
           46  +
     1     47   
     2     48   <h3>Compiling under windows with Mingw</h3>
     3     49   <h4>Installing the tools.</h4>
     4     50     *  download [http://sourceforge.net/projects/mingw/files/|mingw-xx.exe] version 5.1.6 or later. Install it. I assume it will be installed in <strong>c:\MingW</strong>
     5     51     *  download [http://sourceforge.net/projects/mingw/files/|msys-xx.exe] version 1.0.10 or later. Install it. I assume it will be installed in <strong>c:\msys</strong>
     6     52     *  download [http://gnuwin32.sourceforge.net/packages/zlib.htm|zlib] the binary and developer files. Extract to <strong>c:\MingW</strong>
     7     53     *  If you want <strong>https</strong> support download [http://gnuwin32.sourceforge.net/packages/openssl.htm|openssl] the binary and developer files. Extract to <strong>c:\MingW</strong>
................................................................................
    51     97   <h4>Distribution of cross compiled fossil.exe</h4>
    52     98   Because you have linked against zlib and maybe ssl you need to include from <strong>/usr/i486-mingw32/bin</strong> zlib1.dll and, optional, libssl32.dll (and maybe also libeay32.dll)
    53     99   
    54    100   <h4>testing the cross compiled fossil.exe</h4>
    55    101     *  copy fossil.exe and the dll's to a windows system. For testing purpose all in one directory. For production use a directory in your PATH
    56    102     *  fossil clone http://www.fossil-scm.org/ http.fossil
    57    103     *  If it has <strong>https</strong> support then fossil clone https://www.fossil-scm.org/ https.fossil
          104  +
    58    105