File: README.MinGW

package info (click to toggle)
octave 4.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 94,200 kB
  • ctags: 52,925
  • sloc: cpp: 316,850; ansic: 43,469; fortran: 23,670; sh: 13,805; yacc: 8,204; objc: 7,939; lex: 3,631; java: 2,127; makefile: 1,746; perl: 1,022; awk: 988
file content (108 lines) | stat: -rw-r--r-- 3,397 bytes parent folder | download | duplicates (2)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
1. General Users
================

A MInGW bundle is available from sourceforge.

 http://octave.sourceforge.net/index.html

2. Developers
=============

The process for building Octave from source is as follows.

 * Install development tools and compiler
 * Install or compile dependencies of Octave
 * Download Octave source
 * Configure and compile source

We strongly encourage experienced users to build Octave from the
testing and development snapshots to try the latest features of Octave.

A good tutorial on building Octave for version 3.2 is available from
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/admin/Windows/mingw32/HOWTO.txt

Additional information beyond the tutorial is summarized below.

 2.1 Development tools and compiler
 ----------------------
 Msys + MinGW development Tools

 The Msys + MinGW development Tools are required to build Octave from source.

 The latest version of the Msys system is 1.0.16.  For MinGW, search and use
 the most recent version available.  Note: The Howto.txt file describing
 the development tools is rather old.

 The latest GCC (GNU Complier Collection) for MinGW is gcc-4.5.0.  Earlier
 versions are not recommended for building Octave 3.4.xx.

 The latest Msys, MinGW, and GCC tools can be downloaded from
 http://sourceforge.net/projects/mingw/files/

 (Compiling for 64-bit binaries requires mingw-64 toolkits.  This has not been
  tested.)

 2.2 Dependencies
 ----------------------

 External program dependencies

  * gnuplot (you can build this with the shell script mentioned in Howto.txt)
  * MikTeX
  * ghostscript
  * pstoedit (required for printing using FLTK (OpenGL) graphics)
  * fig2dev (Optional; better quality for FLTK printing in some file formats)
  * sed
  * less

 The tools below are required for building the development sources from
 the Mercurial archive, but not for simply building Octave from a snapshot
 tar.gz file.

  * Mercurial
  * git
  * automake
  * autoconf

 Library dependencies

  Please read Howto.txt carefully on how to build them.  The Howto.txt is old
  so some revisions will be required when using GCC-4.5.0

 2.3 Download Octave source
 ----------------------

  The source for testing snapshots can be downloaded from the official Octave
  web site.  http://www.octave.org/download.html

  The very latest development code is also available via anonymous access to a
  read-only Mercurial archive.  The method of download is described on the web
  site.  You will also need to install gnulib as another dependency.  Please
  visit http://www.gnu.org/software/gnulib/ and download sources using git.

 2.4 Configure and compile source
 ----------------------

  Building from source can be carried out using the script described in
  Howto.txt.

  When using GCC-4.5.0, remove flags for shared libstdc++ because a shared
  build is already the default.

  When running './configure', you must add '--enable-float-truncate' option.
  Please see the following thread for more information:
  http://thread.gmane.org/gmane.comp.gnu.octave.bugs/12361/focus=12404

  To build development sources from the Mercurial repository you must run
  bootstrap before running configure and make.  This requires
  that automake and autoconf tools be installed.


Tatsuro MATSUOKA
tmacchant@yahoo.co.jp

Benjamin Lindner
bjmldn@gmail.com


Last updated: Sat Jan 22 17:29:12 PST 2011