/gmp-5.0.5/INSTALL

# · #! · 70 lines · 45 code · 25 blank · 0 comment · 0 complexity · b9f7f4f3a1b2bc6eeced60eb747abe34 MD5 · raw file

  1. Copyright 1996, 1997, 1999, 2000, 2001, 2002, 2006 Free Software Foundation,
  2. Inc.
  3. This file is part of the GNU MP Library.
  4. The GNU MP Library is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU Lesser General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or (at your
  7. option) any later version.
  8. The GNU MP Library is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  11. License for more details.
  12. You should have received a copy of the GNU Lesser General Public License
  13. along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
  14. INSTALLING GNU MP
  15. =================
  16. These instructions are only for the impatient. Others should read the install
  17. instructions in gmp.info. Use
  18. info -f doc/gmp.info
  19. from the gmp source directory.
  20. Here are some brief instructions on how to install GMP. First you need to
  21. compile. Since you're impatient, try this
  22. ./configure
  23. make
  24. make check <= VERY IMPORTANT!!
  25. If that fails, or you care about the performance of GMP, you need to read the
  26. full instructions in the chapter "Installing GMP" in the manual.
  27. You should not skip the "make check" part; the risk that the GMP sources are
  28. miscompiled are unfortunately quite high. And if they indeed are, "make check"
  29. is very likely to trigger the compiler-introduced bug.
  30. Optionally, you can install the library with the following command. This will
  31. be to /usr/local by default, and you'll probably need to be "root" to be able
  32. to write there.
  33. make install
  34. To create the printable documentation from the texinfo source, type "make
  35. gmp.dvi" or "make gmp.ps". This requires various "tex" commands.
  36. If you are new to GMP, it is a good idea you at least read the chapter "GMP
  37. Basics" in the manual.
  38. Some known build problems are noted in the "Installing GMP" chapter of
  39. the manual. Please report other problems to gmp-bugs@gmplib.org.
  40. The GMP web site is located here: http://gmplib.org/.
  41. ----------------
  42. Local variables:
  43. mode: text
  44. fill-column: 78
  45. End: