home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / fdflg.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  2.6 KB  |  75 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-39]
  2. [C;6;B]        FDHEADER
  3.         FDINCLUDE
  4.         FDOBJECT
  5.         FDPASCAL
  6.         FDQUICK
  7.         FDSMALL
  8. [7]Default: no flag set
  9. [J;1;N]
  10.   Only the commercial version will have all those instructions fully \
  11. supported. Registred people will receive that version.
  12.  
  13.   '.fd' files might be used in a lot of different ways. \
  14. There is a list of the available flags and their \
  15. usage:
  16.  
  17. [3]  FDHEADER
  18. [1]    This flag enables the creation of a C like header file. \
  19. When this flag is used with the FD instruction, a list of \
  20. offset is created with the following format:
  21. [C;2]#define _LVO<function name> <offset>
  22. [J;1]    When this flag is used with the FDLIB instruction, a \
  23. list of external instruction call is created. lk cannot \
  24. recognize the type of each parameter, then this can be used \
  25. as a first step to a header creation. The external functions \
  26. have the following format:
  27. [C;2]extern _<function name>(<parameter 1>[[, ...]);
  28. [J;1]    You may use the FDQUICK flag to suppress any \
  29. parameter definition.
  30.  
  31. [3]  FDINCLUDE
  32. [1]    This flag enables the creation of an include file. \
  33. It can be used only with FD instruction, a list of offset \
  34. is create with the following format:
  35. [C;2]_LVO<function name> EQU <offset>
  36.  
  37. [J;3]  FDOBJECT
  38. [1]    lk creates an object from the '.fd' file to use it \
  39. as any other object. This flag will enable you to save that \
  40. object and use it rather than the '.fd' file (Making the \
  41. future usage quicker.)
  42.     When used with the FD instruction, only offsets are \
  43. saved as external definitions.
  44.     When used with the FDLIB instruction, lk creates a small \
  45. call code to enable any C language like to call the library.
  46.  
  47. [3]  FDPASCAL
  48. [1]    This flag enables a Pascal type header to be created \
  49. from the '.fd' file. When it is used with the FD instruction \
  50. only a list of offset is defined with the following format:
  51. [C;2]const _LVO<function name> = <offset>;
  52. [J;1]    When used with the FDLIB instruction, lk creates a \
  53. sub-functionnal header of external definitions with the \
  54. following format:
  55. [C;2]extern _<function name>(A: <parameter1>[[, ...]);
  56.  
  57. [J;3]  FDQUICK
  58. [1]    This flag can be used to avoid the parameter list \
  59. into the C external definitions (See also FDHEADER flag.)
  60.  
  61. [3]  FDSMALL
  62. [1]    Ask for a small code into the current library. \
  63. This will force lk to use the instruction:
  64. [C;2]MOVEA.L   <library base offset:16>(A4),A6
  65. [1]rather than:
  66. [C;2]MOVEA.L   <library base pointer:32>,A6
  67. [J;1]This makes library calls smaller and a bit quicker.
  68.  
  69.   See also:
  70. [L;3][LINK fd]                FD
  71. [LINK filename]                <filename>
  72. [LINK fdlib]                FDLIB
  73. [LINK library]                LIBRARY
  74. [5; LINK about; GOTO address]        Become Registred
  75.