File: README.native

package info (click to toggle)
gretl 2016d-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 48,620 kB
  • ctags: 22,779
  • sloc: ansic: 345,830; sh: 4,648; makefile: 2,712; xml: 570; perl: 364
file content (43 lines) | stat: -rw-r--r-- 1,826 bytes parent folder | download
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.