1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Notes on building gretl on MS Windows itself
* Install mingw: start at mingw.org, go to their download area,
and get their current installer (as of this writing it's
MinGW-5.1.4.exe). Then run it. I installed into c:/mingw,
which I think is the default. You can save yourself some
space in that you don't need the java or ADA compilers for
gretl.
mingw gives you gcc and a full system for building executables
from C sources.
* Install msys: this gives you a decent terminal program (rxvt) and
a decent shell, with the basic *nix command-line utilities.
See http://www.mingw.org/wiki/MSYS . This is a bit fiddly: the
easy self-installer is for an old version, MSYS 1.0.10, but the
current (March 2009) recommendation is to install that first, then
update it to MSYS Core 1.0.11.
* Install the core GTK file (Binaries and Dev; you don't need the
Source packages) from http://www.gtk.org/download-windows.html .
These should be installed under the mingw tree.
* Install the auxiliary packages from
http://ricardo.ecn.wfu.edu/pub/gretl/winbuild/ : these should go
under /mingw on the Windows system. See the file "Note" in that
web directory for details.
* Get current git gretl. In the "win32" subdirectory, edit config.mk
to specify BUILDTYPE = native. Then you should be able to do "make"
and build gretl.
* You'll also the need the current Inno Setup program from
http://www.innosetup.com/isinfo.php in order to build the
installer executable
Note that it will be difficult if not impossible to run gretl
directly from the location where you have built it. In the first
instance you should create and run the installer .exe, which
will put the files into the correct relative positions and
create the required entries in the Windows registry.
|