Mercurial > hg > octave-nkf
comparison README.Linux @ 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 | c454cd888ada |
comparison
equal
deleted
inserted
replaced
2597:106ae3df29f5 | 2598:36a4daa9e3c7 |
---|---|
70 If the location of the correct set of include files is not listed in | 70 If the location of the correct set of include files is not listed in |
71 the search path, then you might be able to fix that with a symbolic | 71 the search path, then you might be able to fix that with a symbolic |
72 link. However, if your version of libg++ was not compiled with your | 72 link. However, if your version of libg++ was not compiled with your |
73 current version of gcc, you are likely to run into more trouble. | 73 current version of gcc, you are likely to run into more trouble. |
74 | 74 |
75 The linker can't find -lieee | |
76 ---------------------------- | |
77 | |
78 This can happen because your libraries don't match your version of | |
79 gcc. Some recent Linux distributions don't include a libieee.a file | |
80 because IEEE support is now the default and the library is no longer | |
81 needed, but the gcc specs file still adds -lieee to the linker command | |
82 if gcc is invoked with the -mieeefp flag. I believe that you should | |
83 be able to fix this by editing the gcc specs file. In it, you should | |
84 find something like this: | |
85 | |
86 %{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \ | |
87 %{!ggdb:-lc} %{ggdb:-lg}} | |
88 | |
89 changing it to | |
90 | |
91 %{!shared: %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}} | |
92 | |
93 should keep gcc from adding -lieee to the link command. You can find | |
94 the location of the specs file by running the command gcc -v. | |
95 | |
96 My system doesn't have g77 | |
97 -------------------------- | |
98 | |
99 A binary release of g77 that should work with gcc 2.7.2 is available | |
100 from sunsite.unc.edu in the directory /pub/Linux/devel/lang/fortran. | |
101 There is also a Debian package for g77. | |
102 | |
75 Upgrading your compiler and libraries | 103 Upgrading your compiler and libraries |
76 ------------------------------------- | 104 ------------------------------------- |
77 | 105 |
78 Finally, installing libg++ on a Linux system is not as simple as it | 106 Installing libg++ on a Linux system is not as simple as it should be, |
79 should be, because libg++ shares some basic I/O code with the Linux C | 107 because libg++ shares some basic I/O code with the Linux C library, |
80 library, and they must be compatible. You should get and read the | 108 and they must be compatible. You should get and read the release |
81 release notes for the compiler and libraries. | 109 notes for the compiler and libraries. |
110 | |
111 If you have comments or suggestions for this document, please contact | |
112 bug-octave@bevo.che.wisc.edu. | |
82 | 113 |
83 John W. Eaton | 114 John W. Eaton |
84 jwe@bevo.che.wisc.edu | 115 jwe@bevo.che.wisc.edu |
85 University of Wisconsin-Madison | 116 University of Wisconsin-Madison |
86 Department of Chemical Engineering | 117 Department of Chemical Engineering |
87 | 118 |
88 Sat Dec 14 09:44:05 1996 | 119 Tue Dec 17 13:24:52 1996 |