fpc(1)
NAME
fpc - Free Pascal Compiler (FPC) binary
SYNOPSIS
fpc [options] [sourcefile]
DESCRIPTION
Arraywhile this man page can be out of date.
Version number
- Arraystable, and if the last number is odd it is a daily changing development version.(1.0.5, 1.1) just like the linux kernel.
Version 0.99.5 however is a stable release. It was made - before the even/odd version naming system was introduced.
Usage
Arrayfore processing the actual processing of the source file,
fpc.cfg(5) the configuration file of the compiler is read which
contains the location of the RTL, other packages (FCL, FreeVision), and optionally default values for some switches. See the
separate manpage of fpc.cfg(5) for more information.
Options
General options
ArrayD Returns the compiler date.
V Returns the compiler version.
SO Returns the compiler OS.
SP Returns the compiler processor.
TO Returns the target OS.
ArrayOptions for getting feedback
Arrayw Tells the compiler to issue warnings.
n Tells the compiler to issue notes.
h Tells the compiler to issue hints.
ArrayOptions concerning files and directories
Arrayer).
-FD same as -e.
Array-FExxx set the executable/unit output path to xxx
ArrayAS A unix .o (object) file, using GNU AS
Array-Ci Generate Input/Output checking code.
-Cn Omit the linking stage.
-Co Generate Integer overflow checking code.
Array-Cr Generate Range checking code.
-Csxxx Set stack size to xxx bytes.
-Ct generate stack checking code.
-CX Create a smartlinked library.
Array-E Same as -Cn.
Array-gg idem as -g.
-gd generate debugging info for dbx.
Array-gv Generate information for debugging with valgrind.
-gw Generate DWARF debugging information.
Arrayu uncertain optimizations
1 Level 1 optimizations (quick optimizations).
Array3 Level 3 optimizations (-O2 plus -Ou).
Array-pg Generate profiler code for gprof.
ArrayEMX OS/2 and DOS via the EMX extender.
ArrayLINUX Linux.
NETBSD Netbsd.
Arrayrxxx Set the library search path to xxx.
s Strip the symbols from the executable.
Arrayfpc Default mode.
gpc GNU pascal mode (does nothing at the moment)
Arrayatt Asm blocks contain AT&T assembler.
intel Asm blocks contain Intel assembler.
Array-S2 Switch on Delphi 2 extensions.
-Sa Generate code for assertions.
-Sc Support C-style operators, i.e. *=, +=, /= and -=.
-Sd Tries to be Delphi compatible
Arrayerrors are reached, or a fatal error is reached, and then it
stops. With this switch, the compiler will stop after the first
error.
-Sg Support the label and goto commands.
-Sh use ansistrings by default.
Array-Si Support C++ style INLINE.
-Sm Support C-style macros.
Array-Sp Try to be GPC (GNU Pascal Compiler) compatible.
Array-St Allow the "static" keyword in objects.
- Array-Us Compile a system unit. This option causes the com
- piler to define only some very basic types.
SEE ALSO
ArrayFree Pascal 22 feb 2002