summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-03-24 00:31:46 +0100
committerKevin Ryde <user42@zip.com.au>2000-03-24 00:31:46 +0100
commit8f4ce00276b9c84dc8eef425464184537b4d588e (patch)
tree1778abcde377134d779af086ad2be70717bd412d /INSTALL
parentd50719b7949f9273ffab5786e91223ce5d7e7199 (diff)
downloadgmp-8f4ce00276b9c84dc8eef425464184537b4d588e.tar.gz
* INSTALL: Updates for new configure system.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL52
1 files changed, 7 insertions, 45 deletions
diff --git a/INSTALL b/INSTALL
index e10a33a4e..5bafaeee8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -84,12 +84,12 @@ Finally, you have to compile your test program, and link it with the MP
library. Assuming your working directory is still the gmp source directory,
and that your source file is called example.c, enter:
- gcc -g -I. example.c libgmp.a
+ gcc -g -I. example.c .libs/libgmp.a
Now try to run the example:
- a.out 98365871231256752134 319378318340103345227
+ ./a.out 98365871231256752134 319378318340103345227
31415926535897932384618573336104570964418
The functions used here all operate on the domain of signed integers.
@@ -104,51 +104,13 @@ Number Functions", and "Floating-point Functions" documents these classes.
To run a set of tests, do "make check". This will take a while.
To create the printable documentation from the texinfo source, type "make
-dvi". This requires the "tex" command to be available in your search path.
+gmp.dvi" or "make gmp.ps". This requires various "tex" commands.
-To install the library, do "make install".
+To install the library, do "make install" (you can then use -lgmp instead of
+.libs/libgmp.a).
If you decide to use MP, It is a good idea you read at least the chapter "MP
Basics" in the manual.
-
-Known Build Problems
---------------------
-
-Note that GCC 2.7.2 (or 2.6.3) for the POWER and PowerPC can not be used
-to compile GMP, due to a bug in GCC. If you want to use GCC, you need to
-apply the patch at the end of this file, or use a later version of the
-compiler.
-
-If you are on a Sequent Symmetry, use GAS instead of the system's assembler
-due to the latter's serious bugs.
-
-The system compiler on NeXT is a massacred and old gcc, even if the
-compiler calls itself cc. This compiler cannot be used to build GMP. You
-need to get a real gcc, and install that before you compile GMP. (NeXT
-might have fixed this in newer releases of their system.)
-
-Please report other problems to bug-gmp@gnu.org.
-
-
-Patch to apply to GCC 2.6.3 and 2.7.2:
-
-*** config/rs6000/rs6000.md Sun Feb 11 08:22:11 1996
---- config/rs6000/rs6000.md.new Sun Feb 18 03:33:37 1996
-***************
-*** 920,926 ****
- (set (match_operand:SI 0 "gpc_reg_operand" "=r")
- (not:SI (match_dup 1)))]
- ""
-! "nor. %0,%2,%1"
- [(set_attr "type" "compare")])
-
- (define_insn ""
---- 920,926 ----
- (set (match_operand:SI 0 "gpc_reg_operand" "=r")
- (not:SI (match_dup 1)))]
- ""
-! "nor. %0,%1,%1"
- [(set_attr "type" "compare")])
-
- (define_insn ""
+Some known build problems are noted in the "Installing MP" chapter of
+the manual. Please report other problems to bug-gmp@gnu.org.