<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>fpc -h</p>
<p>Free Pascal Compiler version 2.6.4 [2014/03/06] for i386<br />Copyright (c) 1993-2014 by Florian Klaempfl and others<br />c:\FPC\2.6.4\bin\i386-Win32\ppc386.exe [options] <inputfile> [options]<br />Put + after a boolean switch option to enable it, - to disable it<br /> -a The compiler doesn't delete the generated assembler file<br /> -al List sourcecode lines in assembler file<br /> -an List node info in assembler file<br /> -ar List register allocation/release info in assembler file<br /> -at List temp allocation/release info in assembler file<br /> -A<x> Output format:<br /> -Adefault Use default assembler<br /> -Aas Assemble using GNU AS<br /> -Amacho Mach-O (Darwin, Intel 32 bit) using internal writer<br /> -Anasmcoff COFF (Go32v2) file using Nasm<br /> -Anasmelf ELF32 (Linux) file using Nasm<br /> -Anasmwin32Win32 object file using Nasm<br /> -AnasmwdosxWin32/WDOSX object file using Nasm<br /> -Awasm Obj file using Wasm (Watcom)<br /> -Anasmobj Obj file using Nasm<br /> -Amasm Obj file using Masm (Microsoft)<br /> -Atasm Obj file using Tasm (Borland)<br /> -Aelf ELF (Linux) using internal writer<br /> -Acoff COFF (Go32v2) using internal writer<br /> -Apecoff PE-COFF (Win32) using internal writer<br /> -b Generate browser info<br /> -bl Generate local symbol info<br /> -B Build all modules<br /> -C<x> Code generation options:<br /> -C3<x> Turn on ieee error checking for constants<br /> -Ca<x> Select ABI, see fpc -i for possible values<br /> -Cb Generate big-endian code<br /> -Cc<x> Set default calling convention to <x><br /> -CD Create also dynamic library (not supported)<br /> -Ce Compilation with emulated floating point opcodes<br /> -Cf<x> Select fpu instruction set to use, see fpc -i for possible values<br /> -CF<x> Minimal floating point constant precision (default, 32, 64)<br /> -Cg Generate PIC code<br /> -Ch<n> <n> bytes heap (between 1023 and 67107840)<br /> -Ci IO-checking<br /> -Cn Omit linking stage<br /> -Co Check overflow of integer operations<br /> -CO Check for possible overflow of integer operations<br /> -Cp<x> Select instruction set, see fpc -i for possible values<br /> -CP<x>=<y> packing settings<br /> -CPPACKSET=<y> <y> set allocation: 0, 1 or DEFAULT or NORMAL, 2, 4 and 8<br /> -Cr Range checking<br /> -CR Verify object method call validity<br /> -Cs<n> Set stack checking size to <n><br /> -Ct Stack checking (for testing only, see manual)<br /> -CX Create also smartlinked library<br /> -d<x> Defines the symbol <x><br /> -D Generate a DEF file<br /> -Dd<x> Set description to <x><br /> -Dv<x> Set DLL version to <x><br /> -e<x> Set path to executable<br /> -E Same as -Cn<br /> -fPIC Same as -Cg<br /> -F<x> Set file names and paths:<br /> -Fa<x>[,y] (for a program) load units <x> and [y] before uses is parsed<br /> -Fc<x> Set input codepage to <x><br /> -FC<x> Set RC compiler binary name to <x><br /> -Fd Disable the compiler's internal directory cache<br /> -FD<x> Set the directory where to search for compiler utilities<br /> -Fe<x> Redirect error output to <x><br /> -Ff<x> Add <x> to framework path (Darwin only)<br /> -FE<x> Set exe/unit output path to <x><br /> -Fi<x> Add <x> to include path<br /> -Fl<x> Add <x> to library path<br /> -FL<x> Use <x> as dynamic linker<br /> -Fm<x> Load unicode conversion table from <x>.txt in the compiler dir<br /> -Fo<x> Add <x> to object path<br /> -Fr<x> Load error message file <x><br /> -FR<x> Set resource (.res) linker to <x><br /> -Fu<x> Add <x> to unit path<br /> -FU<x> Set unit output path to <x>, overrides -FE<br /> -FW<x> Store generated whole-program optimization feedback in <x><br /> -Fw<x> Load previously stored whole-program optimization feedback from <x><br /> -g Generate debug information (default format for target)<br /> -gc Generate checks for pointers<br /> -gh Use heaptrace unit (for memory leak/corruption debugging)<br /> -gl Use line info unit (show more info with backtraces)<br /> -go<x> Set debug information options<br /> -godwarfsets Enable DWARF 'set' type debug information (breaks gdb < 6.5)<br /> -gostabsabsincludes Store absolute/full include file paths in Stabs<br /> -godwarfmethodclassprefix Prefix method names in DWARF with class name<br /> -gp Preserve case in stabs symbol names<br /> -gs Generate Stabs debug information<br /> -gt Trash local variables (to detect uninitialized uses)<br /> -gv Generates programs traceable with Valgrind<br /> -gw Generate DWARFv2 debug information (same as -gw2)<br /> -gw2 Generate DWARFv2 debug information<br /> -gw3 Generate DWARFv3 debug information<br /> -gw4 Generate DWARFv4 debug information (experimental)<br /> -i Information<br /> -iD Return compiler date<br /> -iV Return short compiler version<br /> -iW Return full compiler version<br /> -iSO Return compiler OS<br /> -iSP Return compiler host processor<br /> -iTO Return target OS<br /> -iTP Return target processor<br /> -I<x> Add <x> to include path<br /> -k<x> Pass <x> to the linker<br /> -l Write logo<br /> -M<x> Set language mode to <x><br /> -Mfpc Free Pascal dialect (default)<br /> -Mobjfpc FPC mode with Object Pascal support<br /> -Mdelphi Delphi 7 compatibility mode<br /> -Mtp TP/BP 7.0 compatibility mode<br /> -Mmacpas Macintosh Pascal dialects compatibility mode<br /> -n Do not read the default config files<br /> -N<x> Node tree optimizations<br /> -Nu Unroll loops<br /> -o<x> Change the name of the executable produced to <x><br /> -O<x> Optimizations:<br /> -O- Disable optimizations<br /> -O1 Level 1 optimizations (quick and debugger friendly)<br /> -O2 Level 2 optimizations (-O1 + quick optimizations)<br /> -O3 Level 3 optimizations (-O2 + slow optimizations)<br /> -Oa<x>=<y> Set alignment<br /> -Oo[NO]<x> Enable or disable optimizations, see fpc -i for possible values<br /> -Op<x> Set target cpu for optimizing, see fpc -i for possible values<br /> -OW<x> Generate whole-program optimization feedback for optimization <x>, see fpc -i for possible values<br /> -Ow<x> Perform whole-program optimization <x>, see fpc -i for possible values<br /> -Os Optimize for size rather than speed<br /> -pg Generate profile code for gprof (defines FPC_PROFILE)<br /> -R<x> Assembler reading style:<br /> -Rdefault Use default assembler for target<br /> -Ratt Read AT&T style assembler<br /> -Rintel Read Intel style assembler<br /> -S<x> Syntax options:<br /> -S2 Same as -Mobjfpc<br /> -Sc Support operators like C (*=,+=,/= and -=)<br /> -Sa Turn on assertions<br /> -Sd Same as -Mdelphi<br /> -Se<x> Error options. <x> is a combination of the following:<br /> <n> : Compiler halts after the <n> errors (default is 1)<br /> w : Compiler also halts after warnings<br /> n : Compiler also halts after notes<br /> h : Compiler also halts after hints<br /> -Sg Enable LABEL and GOTO (default in -Mtp and -Mdelphi)<br /> -Sh Use ansistrings by default instead of shortstrings<br /> -Si Turn on inlining of procedures/functions declared as "inline"<br /> -Sk Load fpcylix unit<br /> -SI<x> Set interface style to <x><br /> -SIcom COM compatible interface (default)<br /> -SIcorba CORBA compatible interface<br /> -Sm Support macros like C (global)<br /> -So Same as -Mtp<br /> -Ss Constructor name must be init (destructor must be done)<br /> -Sx Enable exception keywords (default in Delphi/ObjFPC modes)<br /> -Sy @<pointer> returns a typed pointer, same as $T+<br /> -s Do not call assembler and linker<br /> -sh Generate script to link on host<br /> -st Generate script to link on target<br /> -sr Skip register allocation phase (use with -alr)<br /> -T<x> Target operating system:<br /> -Tdarwin Darwin/Mac OS X<br /> -Temx OS/2 via EMX (including EMX/RSX extender)<br /> -Tfreebsd FreeBSD<br /> -Tgo32v2 Version 2 of DJ Delorie DOS extender<br /> -Tiphonesim iPhoneSimulator from iOS SDK 3.2+ (older versions: -Tdarwin)<br /> -Tlinux Linux<br /> -Tnetbsd NetBSD<br /> -Tnetware Novell Netware Module (clib)<br /> -Tnetwlibc Novell Netware Module (libc)<br /> -Topenbsd OpenBSD<br /> -Tos2 OS/2 / eComStation<br /> -Tsunos SunOS/Solaris<br /> -Tsymbian Symbian OS<br /> -Tsolaris Solaris<br /> -Twatcom Watcom compatible DOS extender<br /> -Twdosx WDOSX DOS extender<br /> -Twin32 Windows 32 Bit<br /> -Twince Windows CE<br /> -u<x> Undefines the symbol <x><br /> -U Unit options:<br /> -Un Do not check where the unit name matches the file name<br /> -Ur Generate release unit files (never automatically recompiled)<br /> -Us Compile a system unit<br /> -v<x> Be verbose. <x> is a combination of the following letters:<br /> e : Show errors (default) 0 : Show nothing (except errors)<br /> w : Show warnings u : Show unit info<br /> n : Show notes t : Show tried/used files<br /> h : Show hints c : Show conditionals<br /> i : Show general info d : Show debug info<br /> l : Show linenumbers r : Rhide/GCC compatibility mode<br /> s : Show time stamps q : Show message numbers<br /> a : Show everything x : Executable info (Win32 only)<br /> b : Write file names messages p : Write tree.log with parse tree<br /> with full path v : Write fpcdebug.txt with<br /> lots of debugging info<br /> m<x>,<y> : Don't show messages numbered <x> and <y><br /> -W<x> Target-specific options (targets)<br /> -WA Specify native type application (Windows)<br /> -Wb Create a bundle instead of a library (Darwin)<br /> -WB Create a relocatable image (Windows, Symbian)<br /> -WBxxxx Set image base to xxxx (Windows, Symbian)<br /> -WC Specify console type application (EMX, OS/2, Windows)<br /> -WD Use DEFFILE to export functions of DLL or EXE (Windows)<br /> -We Use external resources (Darwin)<br /> -WF Specify full-screen type application (EMX, OS/2)<br /> -WG Specify graphic type application (EMX, OS/2, Windows)<br /> -Wi Use internal resources (Darwin)<br /> -WI Turn on/off the usage of import sections (Windows)<br /> -WM<x> Minimum Mac OS X deployment version: 10.4, 10.5.1, ... (Darwin)<br /> -WN Do not generate relocation code, needed for debugging (Windows)<br /> -WP<x> Minimum iOS deployment version: 3.0, 5.0.1, ... (iphonesim)<br /> -WR Generate relocation code (Windows)<br /> -WX Enable executable stack (Linux)<br /> -X Executable options:<br /> -Xc Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Linux)<br /> -Xd Do not search default library path (sometimes required for cross-compiling when not using -XR)<br /> -Xe Use external linker<br /> -Xg Create debuginfo in a separate file and add a debuglink section to executable<br /> -XD Try to link units dynamically (defines FPC_LINK_DYNAMIC)<br /> -Xi Use internal linker<br /> -Xm Generate link map<br /> -XM<x> Set the name of the 'main' program routine (default is 'main')<br /> -XP<x> Prepend the binutils names with the prefix <x><br /> -Xr<x> Set the linker's rlink-path to <x> (needed for cross compile, see the ld manual for more information) (BeOS, Linux)<br /> -XR<x> Prepend <x> to all linker search paths (BeOS, Darwin, FreeBSD, Linux, Mac OS, Solaris)<br /> -Xs Strip all symbols from executable<br /> -XS Try to link units statically (default, defines FPC_LINK_STATIC)<br /> -Xt Link with static libraries (-static is passed to linker)<br /> -XX Try to smartlink units (defines FPC_LINK_SMART)<br /> <br /> -? Show this help<br /> -h Shows this help without waiting<br /><br /></p>
<p> </p>
<p>Em 03.10.2014 18:53, Sven Barth escreveu:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Am 03.10.2014 03:37 schrieb "Philippe" <<a href="mailto:philippe@quarta.com.br">philippe@quarta.com.br</a>>:<br /> ><br /> > @cfg<br /> ><br /> > I read about that option in a previous message of the thread ... clearly a better ideia!!! ... I´ll use it for sure!<br /> ><br /> > taking advantage of the oportunity. when one type fpc in the command line, he/she gets:<br /> ><br /> > <br /> ><br /> > D:\psl9\c9>fpc<br /> > Free Pascal Compiler version 2.6.4 [2014/03/06] for i386<br /> > Copyright (c) 1993-2014 by Florian Klaempfl and others<br /> > c:\FPC\2.6.4\bin\i386-Win32\ppc386.exe [options] <inputfile> [options]<br /> ><br /> > and so one ...<br /> ><br /> > and if I did not missed it, there is nothing about @cfg !<br /> ><br /> > that is the reason while I never used it!</p>
<p>It should be listed if you show the help using "-h" parameter.</p>
<p>Regards,<br /> Sven</p>
<br />
<pre>_______________________________________________
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
<p> </p>
</body></html>