You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.4 KiB

25 years ago
25 years ago
25 years ago
  1. Installation:
  2. =============
  3. As with any autoconfiguring GNU software, installation is as easy as this:
  4. $ ./configure
  5. $ make
  6. $ make check
  7. $ make install
  8. You need GNU make. On HP-UX, you also need GNU sed.
  9. Known to work with:
  10. - Linux/x86, gcc-2.7.0, gcc-2.7.2, gcc-2.8.0, egcs-1.1, gcc-2.95
  11. - Solaris 2.4 (sparc), gcc-2.7.0, gcc-2.7.2, egcs-1.1, gcc-2.95
  12. - OSF/1 V4.0 (alpha), egcs-1.1, gcc-2.95
  13. - Irix 5.3, CC 4
  14. The "make" step takes about 4 hours, on a 486 DX / 33 MHz / 8 MB.
  15. On Linux, g++ needs 15 MB to compile the tests. So better have
  16. 17 MB swap space and 1 MB room in $TMPDIR.
  17. If you use gcc and g++ version 2.7.x, don't add -O2 to the CXXFLAGS, because
  18. "g++ -O" generates better code for libcln.a than "g++ -O2".
  19. If you use g++ version 2.8.x or egcs-2.91.x (a.k.a. egcs-1.1) or gcc-2.95.x,
  20. I recommend adding "-fno-exceptions" to the CXXFLAGS. This will likely
  21. generate better code.
  22. If you use g++ version egcs-2.91.x (egcs-1.1) or gcc-2.95.x on Sparc, add
  23. either "-O", "-O1" or "-O2 -fno-schedule-insns" to the CXXFLAGS. With full
  24. "-O2", g++ miscompiles the division routines. Also, if you have g++ version
  25. egcs-1.1.1 or older on Sparc, you must specify --disable-shared because g++
  26. would miscompile parts of the library.
  27. On MIPS (SGI Irix 6), pass option "--without-gmp" to configure. gmp does
  28. not work when compiled in "n32" binary format on Irix.
  29. More detailed installation instructions can be found in the documentation,
  30. in the doc/ directory.