Difference between revisions of "global compiler directives"
Jwdietrich (talk | contribs) (Template for i18n added.) |
Jwdietrich (talk | contribs) |
||
Line 2: | Line 2: | ||
Free Pascal supports compiler directives in the source file: Basically the same directives as in Turbo Pascal, Delphi and Mac OS pascal compilers. Some are recognized for compatibility only, and have no effect. | Free Pascal supports compiler directives in the source file: Basically the same directives as in Turbo Pascal, Delphi and Mac OS pascal compilers. Some are recognized for compatibility only, and have no effect. | ||
+ | |||
+ | <br> | ||
+ | __TOC__ | ||
+ | <br> | ||
+ | ==Gobal Compiler Directives== | ||
+ | <br> | ||
+ | [[sGlobalApptype|$APPTYPE]] determines the program type.<br> | ||
+ | [[sGlobalCalling|$CALLING]] determines the calling convention of internal and external procedures and functions.<br> | ||
+ | [[sGlobalCodepage|$code page]] determines which code page is used by the program.<br> | ||
+ | [[sGlobalDebuginfo|$D oder $DEBUGINFO]] insert GNU debugging informationen into generated code.<br> | ||
+ | [[sGlobalDescription|$DESCRIPTION]] currently igonored by compiler.<br> | ||
+ | [[sGlobalE|$E]] emulate coprocessor.<br> | ||
+ | [[sGlobalG|$G]] currently igonored by compiler (reserved for generation of 80286 code).<br> | ||
+ | [[sGlobalIncludepath|$INCLUDEPATH]] determines path for include files.<br> | ||
+ | [[sGlobalInterfaces|$INTERFACES]] determines software interface for compiler<br> | ||
+ | [[sGlobalLocalsymbols|$LOCALSYMBOLS]] currently igonored by compiler.<br> | ||
+ | [[sGlobalLibrarypath|$LIBRARYPATH]] determines path to library files.<br> | ||
+ | [[sGlobalMemory|$MEMORY]] determines size of memory to use.<br> | ||
[[Category:Compiler directives]] | [[Category:Compiler directives]] |
Revision as of 13:38, 21 September 2013
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
Free Pascal supports compiler directives in the source file: Basically the same directives as in Turbo Pascal, Delphi and Mac OS pascal compilers. Some are recognized for compatibility only, and have no effect.
Gobal Compiler Directives
$APPTYPE determines the program type.
$CALLING determines the calling convention of internal and external procedures and functions.
$code page determines which code page is used by the program.
$D oder $DEBUGINFO insert GNU debugging informationen into generated code.
$DESCRIPTION currently igonored by compiler.
$E emulate coprocessor.
$G currently igonored by compiler (reserved for generation of 80286 code).
$INCLUDEPATH determines path for include files.
$INTERFACES determines software interface for compiler
$LOCALSYMBOLS currently igonored by compiler.
$LIBRARYPATH determines path to library files.
$MEMORY determines size of memory to use.