Mercurial > hg > octave-lojdl
changeset 2598:36a4daa9e3c7
[project @ 1996-12-19 02:27:21 by jwe]
author | jwe |
---|---|
date | Thu, 19 Dec 1996 02:27:22 +0000 |
parents | 106ae3df29f5 |
children | 9705ea40f0a2 |
files | README.Linux WWW/mailing-lists/index.html liboctave/ChangeLog liboctave/lo-ieee.cc src/BaseSLList.cc src/ChangeLog |
diffstat | 6 files changed, 64 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/README.Linux +++ b/README.Linux @@ -72,17 +72,48 @@ link. However, if your version of libg++ was not compiled with your current version of gcc, you are likely to run into more trouble. +The linker can't find -lieee +---------------------------- + +This can happen because your libraries don't match your version of +gcc. Some recent Linux distributions don't include a libieee.a file +because IEEE support is now the default and the library is no longer +needed, but the gcc specs file still adds -lieee to the linker command +if gcc is invoked with the -mieeefp flag. I believe that you should +be able to fix this by editing the gcc specs file. In it, you should +find something like this: + + %{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \ + %{!ggdb:-lc} %{ggdb:-lg}} + +changing it to + + %{!shared: %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}} + +should keep gcc from adding -lieee to the link command. You can find +the location of the specs file by running the command gcc -v. + +My system doesn't have g77 +-------------------------- + +A binary release of g77 that should work with gcc 2.7.2 is available +from sunsite.unc.edu in the directory /pub/Linux/devel/lang/fortran. +There is also a Debian package for g77. + Upgrading your compiler and libraries ------------------------------------- -Finally, installing libg++ on a Linux system is not as simple as it -should be, because libg++ shares some basic I/O code with the Linux C -library, and they must be compatible. You should get and read the -release notes for the compiler and libraries. +Installing libg++ on a Linux system is not as simple as it should be, +because libg++ shares some basic I/O code with the Linux C library, +and they must be compatible. You should get and read the release +notes for the compiler and libraries. + +If you have comments or suggestions for this document, please contact +bug-octave@bevo.che.wisc.edu. John W. Eaton jwe@bevo.che.wisc.edu University of Wisconsin-Madison Department of Chemical Engineering -Sat Dec 14 09:44:05 1996 +Tue Dec 17 13:24:52 1996
--- a/WWW/mailing-lists/index.html +++ b/WWW/mailing-lists/index.html @@ -9,8 +9,10 @@ <h1>Octave Mailing List Archives</h1> <hr> -<h2>help-octave -- General discussion about using and installing Octave.</h2> +<h2>help-octave</h2> +<h3>General discussion about using and installing Octave</h3> +<p> <ul> <li><a href="help-octave/1996">1996</a> <li><a href="help-octave/1995">1995</a> @@ -18,8 +20,11 @@ <li><a href="help-octave/1993">1993</a> <li><a href="help-octave/1992">1992</a> </ul> +</p> +<hr> -<h2>bug-octave -- Bug reports. Sometimes fixes are posted to this list.</h2> +<h2>bug-octave</h2> +<h3>Bug reports (sometimes fixes are posted to this list)</h3> <p> <ul> @@ -30,14 +35,17 @@ <li><a href="bug-octave/1992">1992</a> </ul> </p> +<hr> -<h2>octave-sources -- Enhancements contributed by Octave users.</h2> +<h2>octave-sources</h2> +<h3>Enhancements contributed by Octave users</h3> <p> <ul> <li><a href="octave-sources/1996">1996</a> </ul> </p> +<hr> <h2><a name="JOIN">How to join the mailing lists</a></h2>
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + + * lo-ieee.cc: Include <nan.h> on all systems that have it. + Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * Array2-idx.h (assign): Delay resizing left hand side until we
--- a/liboctave/lo-ieee.cc +++ b/liboctave/lo-ieee.cc @@ -31,11 +31,15 @@ #include <floatingpoint.h> #endif -#if defined (HAVE_NAN_H) && defined (SCO) +#if defined (HAVE_NAN_H) +#if defined (SCO) #define _IEEE 1 +#endif #include <nan.h> +#if defined (SCO) #undef _IEEE #endif +#endif #include "lo-ieee.h"
--- a/src/BaseSLList.cc +++ b/src/BaseSLList.cc @@ -29,9 +29,11 @@ #include <builtin.h> #include "BaseSLList.h" +#include "error.h" + void BaseSLList::error(const char* msg) const { - (*lib_error_handler)("SLList", msg); + ::error ("SLList: %s", msg); } int BaseSLList::length() const
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 18 20:17:23 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + + * BaseSLList.cc: Include error.h. + (BaseSLList::error): Call ::error() to process error message. + Fri Dec 13 02:38:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * ov.cc (octave_value::convert_and_assign): Preserve lhs value if