Mercurial > hg > octave-nkf
changeset 12200:c2d2f880dca2
README.MacOS: Modify instructions for building Octave manually.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 28 Jan 2011 18:39:02 -0500 |
parents | 3fc07861449b |
children | 765b15fd3b3d |
files | ChangeLog README.MacOS |
diffstat | 2 files changed, 59 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-01-28 Ben Abbott <bpabbott@mac.com> + + * README.MacOS: Modify instructions for building Octave manually. + 2011-01-28 John W. Eaton <jwe@octave.org> * configure.ac: Don't check for ARPACK.
--- a/README.MacOS +++ b/README.MacOS @@ -69,7 +69,61 @@ 2.2 Manual Package Management ----------------------------- - TODO - add instructions. +Instructions for building Ocave are available on the web at the link below. + + http://wiki.octave.org/wiki.pl?BuildFromSource + +In additionn, those wishing to build on MacOS X (10.6.x) should read section +2.1 above. + +2.2.1 Critical Dependencies +--------------------------- + +The minimal dependencies needed to build Octave's snap-shots are listed below. + + * Xcode + + * gfortran: Available from http://r.reseach.att.com/tools + + * gnu sed: Availabel from http://www.gnu.org/software/sed/ + + ./configure --prefix=/usr + make + make install + + * fftw3: Available from http://www.fftw.org/download.html + + export CFLAGS="-arch i686 -arch x86_64" + export FFLAGS="$CFLAGS" + export LDLAGS="$CFLAGS" + ./configure --disable-dependency-tracking + make + make install + +A fully functional Octave requires additional dependencies. See the link below +for the details. + + http://wiki.octave.org/wiki.pl?BuildFromSource + +2.2.2 Building Octave as a 32bit Application +-------------------------------------------- + +The commands below are sufficient to build a 32bit Octave. + + export CFLAGS="-m32" + export FFLAGS="-m32 -ff2c" + export CPPFLAGS="-m32 -D_REENTRANT" + export LDFLAGS="-m32" + ./configure --disable-readline --disable-docs + make + +Octave provides an interegrated tests suite. + + make check + +Octave may be run withou installing the application using the utility below. + + ./run-octave 2.3 Building With Dependencies Satisfied by Fink