README 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. slibtool is an independent reimplementation of the widely used libtool,
  2. written in C. slibtool is designed to be a clean, fast, easy-to-use.
  3. slibtool maintains compatibility with libtool in nearly every aspect of
  4. the tool's functionality as well as semantics, leaving out (or turning
  5. into a no-op) only a small number of features that are no longer needed
  6. on modern systems.
  7. This does not conflict with GNU libtool included with Slackware.
  8. To use slibtool instead of libtool export this to your environment.
  9. export MAKEFLAGS='LIBTOOL=rlibtool'
  10. This symlink should work in most cases by parsing the generated libtool
  11. to determine if shared libraries and / or static archives will be built.
  12. To force building both shared libraries and static archives:
  13. export MAKEFLAGS='LIBTOOL=slibtool'
  14. or you can build only shared libraries:
  15. export MAKEFLAGS='LIBTOOL=slibtool-shared'
  16. or only static archives:
  17. export MAKEFLAGS='LIBTOOL=slibtool-static'
  18. slibtool may build packages that are not compatible with GNU libtool.
  19. For compatibility, use rclibtool instead of rlibtool:
  20. export MAKEFLAGS='LIBTOOL=rclibtool'
  21. or, for both shared libararies and static archives:
  22. export MAKEFLAGS='LIBTOOL=clibtool'
  23. or, for only shared libraries:
  24. export MAKEFLAGS='LIBTOOL=clibtool-shared'
  25. or, for only static archives:
  26. export MAKEFLAGS='LIBTOOL=clibtool-static'
  27. If a build with libtool fails because of missing libtool library files
  28. (.la), the package with the missing files can be rebuilt with rclibtool
  29. or clibtool as above.
  30. To use slibtool in a more verbose debug mode:
  31. export MAKEFLAGS='LIBTOOL=rdlibtool'
  32. or, for compatibility and a more verbose debug mode:
  33. export MAKEFLAGS='LIBTOOL=rdclibtool'
  34. or, for both shared libraries and static archives:
  35. export MAKEFLAGS='LIBTOOL=dlibtool'
  36. or, for only shared libraries:
  37. export MAKEFLAGS='LIBTOOL=dlibtool-shared'
  38. or, for only static archives:
  39. export MAKEFLAGS='LIBTOOL=dlibtool-static'
  40. If the generated libtool is not found when using rlibtool, rclibtool,
  41. rdlibtool or rdclibtool this will result in a build error and they
  42. should not be used in those cases.
  43. To build debugging symbols use:
  44. DEBUG=1 ./slibtool.SlackBuild