5.1.4 Options controlling the kind of output.

For more information on these options, see Programmers guide.

Do not delete the assembler files (not applicable when using the internal assembler). This also applies to the (possibly) generated batch script.
Include the source code lines in the assembler file as comments.
Write node information in the assember file (nodes are the way the compiler represents statements or parts thereof internally). This is primarily intended for debugging the code generated by the compiler.
Use pipes instead of creating temporary assembler files. This may speed up the compiler on os/2 and linux. Only with assemblers (such as gnu if the internal assembler is used.
List register allocation and release info in the assembler file. This is primarily intended for debugging the code generated by the compiler.
List information about temporary allocations and deallocations in the assembler file.
specify what kind of assembler should be generated. Here xxx is one of the following :
Use the built-in default.
Assemble using gnu as.
Coff (Go32v2) file using Nasm.
Elf32 (linux) file using Nasm.
Windows 32-bit file using Nasm.
Windows 32-bit/DOSX file using Nasm.
Object file using Nasm.
Object file using Masm (Microsoft).
Object file using Tasm (Borland).
Elf32 (linux) using internal writer.
Coff object file (Go32v2) using the internal binary object writer.
PECoff object file (Win32) using the internal binary object writer.
Re-compile all used units, even if the unit sources didn’t change since the last compilation.
Generate browser info. This information can be used by an Integrated Development Environment (IDE) to provide information on classes, objects, procedures, types and variables in a unit.
The same as -b but also generates information about local variables, types and procedures.
Set the ABI (Application Binary Interface) to xxx. The -i option gives the possible values for xxx.
Generate big-endian code.
Set the default calling convention used by the compiler.
Create a dynamic library. This is used to transform units into dynamically linkable libraries on linux.
Emulate floating point operations.
Set the used floating point processor to xxx.
Set the minimal floating point precision to NN. Possible values are 32 and 64.
Enable generation of PIC code. This should only be necessary when generating libraries on linux or other Unices.
Reserves xxx bytes heap. xxx should be between 1024 and 67107840.
Generate Input/Output checking code. In case some input/output code of your program returns an error status, the program will exit with a run-time error. Which error is generated depends on the I/O error.
Omit the linking stage.
Generate Integer overflow checking code. In case of integer errors, a run-time error will be generated by your program.
Check for possible overflow of integer operations.
Set the processor type to XXX.
Set the packing for X to N. X can be PACKSET, PACKENUM or PACKRECORD, and N can be a value of 1,2,4,8 or one of the keywords DEFAULT or NORMAL.
Generate Range checking code. If your program accesses an array element with an invalid index, or if it increases an enumerated type beyond its scope, a run-time error will be generated.
Generate checks when calling methods to verify if the virtual method table for that object is valid.
Set stack size to xxx.
Generate stack checking code. If your program performs a faulty stack operation, a run-rime error will be generated.
Create a smartlinked unit when writing a unit. Smartlinking will only link in the code parts that are actually needed by the program. All unused code is left out. This can lead to substantially smaller binaries.
Define the symbol name xxx. This can be used to conditionally compile parts of your code.
Generate a DEF file (for OS/2).
Set the description of the executable/library (Windows).
Set the version of the executable/library (Windows).
Same as -Cn.
Generate debugging information for debugging with gdb.
Generate checks for pointers. This must be used with the -gh command line option. When this options is enabled, it will verify that all pointer accesses are within the heap.
Same as -g.
Use the heaptrc unit (see Unit reference). (Produces a report about heap usage after the program exits)
Use the lineinfo unit (see Unit reference). (Produces file name/line number information if the program exits due to an error.)
set debug information options. One of the options is dwarfsets: It enables dwarf set debug information (this does not work with gdb versions prior to 6.5.
Preserve case in stabs symbol names. Default is to uppercase all names.
Write stabs debug information.
Trash local variables. This writes a random value to local variables at procedure start. This can be used to detect uninitialized variables.
Emit info for valgrind.
Emit dwarf debugging info (version 2).
Emit dwarf debugging info (version 2).
Emit dwarf debugging info (version 3).
Pass xxx to the linker.
Optimize the compiler’s output; xxx can have one of the following values :
Specify alignment of structures and code. PARAM determines what should be aligned; VALUE specifies the alignment boundary. See the Programmer’s Guide for a description of the possible values.
Optimize for size, try to generate smaller code.
Optimize for time, try to generate faster code (default).
Keep certain variables in registers (experimental, use with caution).
Uncertain optimizations
Level 1 optimizations (quick optimizations).
Level 2 optimizations (-O1 plus some slower optimizations).
Level 3 optimizations (-O2 plus -Ou).
(Intel only) Specify processor: n can be one of
Optimize for 386/486
Optimize for Pentium/PentiumMMX (tm)
Optimizations for PentiumPro/PII/Cyrix 6x86/K6 (tm)

The exact effect of these optimizations can be found in the Programmers guide.

Use xxx as the name of the output file (executable). For use only with programs. The output filename can contain a path, and if it does, it will override any previous -FE setting. If the output filename does not contain a path, the -FE setting is observed.
Generate profiler code for gprof. This will define the symbol FPC_PROFILE, which can be used in conditional defines.
Do not call the assembler and linker. Instead, the compiler writes a script, PPAS.BAT under dos, or ppas.sh under linux, which can then be executed to produce an executable. This can be used to speed up the compiling process or to debug the compiler’s output. This option can take an extra parameter, mainly used for cross-compilation. It can have one of the following values:
Generate script to link on host. The generated script can be run on the compilation platform (host platform).
Generate script to link on target platform. The generated script can be run on the target platform. (where the binary is intended to be run)
Skip register allocation phase (optimizations will be disabled).
Specify the target operating system. xxx can be one of the following:
Undefine the symbol xxx. This is the opposite of the -d option.
Generate release unit files. These files will not be recompiled, even when the sources are available. This is useful when making release distributions. This also overrides the -B option for release mode units.
Set some Windows or os/2 attributes of the generated binary. It can be one or more of the following
Set preferred base address to hhh (a hexadecimal address)
Generate a console application (+) or a gui application (-).
Force use of Def file for exports.
Generate a FS application (+) or a console application (-).
Generate a GUI application (+) or a console application (-).
Do not generate a relocation section.
Generate a relocation section.
Generate a TOOL application (+) or a console application (-).
Specify executable options. This tells the compiler what kind of executable should be generated. The parameter x can be one of the following: