# l : Show linenumbers c : Show conditionals # i : Show general info q : Show message numbers # n : Show notes t : Show tried/used files # e : Show errors (default) d : Show debug info # Always strip debuginfo from the executable # Enable debuginfo and use the line info unit by default # -gv generates programs tracable with valgrind # -gl use line info unit to show more info for backtraces # -gh use heap trace unit (for memory leak debugging) # generate always debugging information for GDB (slows down the compiling FD/usr/local/lib/fpc/$fpcversion/bin/$FPCTARGET Fl/usr/local/lib/fpc/$fpcversion/lib/$FPCTARGET Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/* # searchpath for fppkg user-specific packages Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd22 Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd20 Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd13/ Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget # searchpath for units and other system dependent things #-Fr/usr/local/lib/fpc/$fpcversion/msg/errorr.msg #-Fr/usr/local/lib/fpc/$fpcversion/msg/errord.msg #-Fr/usr/local/lib/fpc/$fpcversion/msg/errores.msg #-Fr/usr/local/lib/fpc/$fpcversion/msg/errorn.msg #-Fr/usr/local/lib/fpc/$fpcversion/msg/errore.msg # path to the messagefile, not necessary anymore but can be used to override # Both slashes and backslashes are allowed in paths # -Op set target cpu for optimizing, see fpc -i for possible values # -O3 level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster) # -O2 level 2 optimizations (-O1 + optimizations which make debugging more difficult) # -O1 level 1 optimizations (quick optimizations, debuggable) # Set default codegeneration checks (iocheck, overflow, range, stack) # (can be overruled with -CD, -CS at the commandline) # Uncomment the next line if you always want static/dynamic units by default # Allow goto, inline, C-operators, C-vars # -Sx enable exception keywords (default in Delphi/ObjFPC modes) # -Ss constructor name must be init (destructor must be done) # -SIcom COM compatible interface (default) # : compiler stops after errors (default is 1) # -Sc supports operators like C (*=,+=,/= and -=) # All assembler blocks are AT&T styled by default # Turn on Object Pascal extensions by default # -Mmacpas tries to be compatible to the macintosh pascal dialects # -Mobjfpc switch some Delphi 2 extensions on FD/Applications/Xcode.app/Contents/Developer/usr/bin # path to Xcode 4.3+ utilities (no problem if it doesn't exist) # use pipes instead of temporary files for assembling # For a debug version compile with debuginfo and all codegeneration checks on # For a release compile with optimizes and strip debuginfo # Try compiling with the -dRELEASE or -dDEBUG on the commandline # Some examples (for switches see below, and the -? helppages) # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed # Example fpc.cfg for Free Pascal Compiler # Config file generated by fpcmkcfg on 22-7-15 - 09:56:06
0 Comments
Leave a Reply. |