ppumove.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .TH ppmove 1 "9 June 1999" "Free Pascal" "Free Pascal unit mover"
  2. .SH NAME
  3. ppdep \- The FPC Pascal unit mover.
  4. .SH SYNOPSIS
  5. \fBppumove\fP [-sqbhw] [-o File] [-d path] [-e extension] files...
  6. .SH Description
  7. \fBppumove\fP collects one or several Free Pascal unit files and archives
  8. them in a static or shared library.
  9. .SH Usage
  10. You can invoke \fBppumove\fP with as the only required argument the
  11. name of the unit from which you want to make an archive. Specifying
  12. multiple files is also possible, they will be put in the same archive.
  13. .SH Options
  14. \fBppumove\fP has several options, which are case sensitive:
  15. .TP
  16. .B \-b
  17. This option tells \fBppumove\fP to write a shell script (a batch file on
  18. DOS) that performs the needed calls to \fBar\fP and \fBld\fP. The script
  19. will be called \fBpmove\fP, with an extension of \fB.sh\fP on Linux,
  20. and \fB.bat\fP on DOS. You can then call this script manually afterwards.
  21. .TP
  22. .BI \-d " path"
  23. This option tells \fBppumove\fP where to generate the new unit files.
  24. By default, this is the same directory as where the files are found.
  25. If you specify as the output extension the same extension as the units
  26. you want to move, not specifying the destination directory may cause
  27. problems.
  28. .TP
  29. .BI \-e " ext"
  30. This option sets the extension of the new unit files to \fBext\fP. By
  31. default \fB.ppl\fP is used. However, you can specify \fB.ppu\fP as the
  32. extension. If you do, be sure to use also the \fI\-d\fP switch, or you will
  33. overwrite the old units. Note however, that the compiler will only look for
  34. extensions \fB.ppu\fP and \fB.ppl\fP when looking for units.
  35. .TP
  36. .B -h
  37. Shows a short help screen.
  38. .TP
  39. .BI \-o " file"
  40. This option allows you to specify the name of the library to be generated.
  41. You \fBmust\fP use this option if you specify more than one unit on the
  42. command-line. If you specified only one unit on the command-line, the generated library
  43. will have the unit name, with \fBlib\fP prepended (on Linux).
  44. You do not need to specify the \fBlib\fP part, this will be prepended
  45. automatically if needed.
  46. .TP
  47. .B \-q
  48. Tells \fBppumove\fP to operate quietly.
  49. .TP
  50. .B \-s
  51. Tells \fBppumove\fP to generate a static library. By default, a shared
  52. library is generated (except on DOS).
  53. .TP
  54. .B \-w
  55. Tells \fBppumove\fP it should use the windows linker and archiver. Do not
  56. use this option on Linux.
  57. .SH SEE ALSO
  58. .IP
  59. .BR ppc386 (1)
  60. .BR ppudep (1)
  61. .BR ppudump (1)