Mercurial > hg > octave-lyh
diff README.MSVC @ 6275:6e5835ef21f8
[project @ 2007-02-07 07:29:46 by jwe]
author | jwe |
---|---|
date | Wed, 07 Feb 2007 07:29:47 +0000 |
parents | bbbe04bacea2 |
children | 673686daec87 |
line wrap: on
line diff
--- a/README.MSVC +++ b/README.MSVC @@ -193,11 +193,22 @@ http://www.netlib.org/f2c/libf2c.zip. To compile libf2c, use makefile.vc and NMAKE.EXE. To be usable within -Octave, first edit makefile.vc and add "-MD" as compilation flag (to -the CFLAGS variable). Finally, install f2c.h and vcf2c.lib at -locations where they can be found by the MSVC tools (adjust the -INCLUDE and LIB variables). Note that you must rename vcf2c.lib into -f2c.lib so that Octave's configure script will find it. +Octave, the following modifications needs to be done: + 1) edit makefile.vc and add "-MD" as compilation flag (to + the CFLAGS variable). + 2) edit fio.h and comment the declaration of isatty (around line 112). + This means replacing the line: + + extern int isatty(int); + + with + + /* extern int isatty(int); */ + +After compilation, install f2c.h and vcf2c.lib at locations where they +can be found by the MSVC tools (adjust the INCLUDE and LIB variables). +Note that you must rename vcf2c.lib into f2c.lib so that Octave's +configure script will find it. 2. Compilation