11 # -S2 same as -Mobjfpc
12 # -Sc supports operators like C (*=,+=,/= and -=)
13 # -Sa include assertion code.
14 # -Sd same as -Mdelphi
15 # -Se<x> error options. <x> is a combination of the following:
16 # <n> : compiler stops after <n> errors (default is 1)
17 # w : compiler stops also after warnings
18 # n : compiler stops also after notes
19 # h : compiler stops also after hints
20 # -Sg allow LABEL and GOTO
22 # -Si support C++ styled INLINE
23 # -Sk load fpcylix unit
24 # -SI<x> set interface style to <x>
25 # -SIcom COM compatible interface (default)
26 # -SIcorba CORBA compatible interface
27 # -Sm support macros like C (global)
30 # -Ss constructor name must be init (destructor must be done)
31 # -Sx enable exception keywords (default in Delphi/ObjFPC modes)
33 # Allow goto, inline, C-operators, C-vars
37 # Uncomment the next line if you always want static/dynamic units by default
38 # (can be overruled with -CD, -CS at the commandline)
42 # Set the default heapsize to 8Mb
45 # Set default codegeneration checks (iocheck, overflow, range, stack)
52 # -Os generate smaller code
53 # -Oa=N set alignment to N
54 # -O1 level 1 optimizations (quick optimizations, debuggable)
55 # -O2 level 2 optimizations (-O1 + optimizations which make debugging more difficult)
56 # -O3 level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
57 # -Oo<x> switch on optimalization x. See fpc -i for possible values
58 # -OoNO<x> switch off optimalization x. See fpc -i for possible values
59 # -Op<x> set target cpu for optimizing, see fpc -i for possible values
62 # generate always debugging information for GDB (slows down the compiling
64 # -gc generate checks for pointers
67 # -gh use heap trace unit (for memory leak debugging)
68 # -gl use line info unit to show more info for backtraces
69 # -gv generates programs tracable with valgrind
70 # -gw generate dwarf debugging info
74 # Write always a nice FPC logo ;)
78 # e : Show errors (default) d : Show debug info
79 # w : Show warnings u : Show unit info
80 # n : Show notes t : Show tried/used files
81 # h : Show hints s : Show time stamps
82 # i : Show general info q : Show message numbers
83 # l : Show linenumbers c : Show conditionals
84 # a : Show everything 0 : Show nothing (except errors)
85 # b : Write file names messages r : Rhide/GCC compatibility mode
86 # with full path x : Executable info (Win32 only)
87 # v : write fpcdebug.txt with p : Write tree.log with parse tree
88 # lots of debugging info