Usage: cpp.exe [switches] input output Switches: -include Include the contents of before other files -imacros Accept definition of marcos in -iprefix Specify as a prefix for next two options -iwithprefix Add to the end of the system include paths -iwithprefixbefore Add to the end of the main include paths -isystem Add to the start of the system include paths -idirafter Add to the end of the system include paths -I Add to the end of the main include paths -nostdinc Do not search the system include directories -nostdinc++ Do not search the system include directories for C++ -o Put output into -pedantic Issue all warnings demanded by strict ANSI C -traditional Follow K&R pre-processor behaviour -trigraphs Support ANSI C trigraphs -lang-c Assume that the input sources are in C -lang-c89 Assume that the input is C89; depricated -lang-c++ Assume that the input sources are in C++ -lang-objc Assume that the input sources are in ObjectiveC -lang-objc++ Assume that the input sources are in ObjectiveC++ -lang-asm Assume that the input sources are in assembler -lang-chill Assume that the input sources are in Chill -std= Specify the conformance standard; one of: gnu89, gnu9x, c89, c9x, iso9899:1990, iso9899:199409, iso9899:199x -+ Allow parsing of C++ style features -w Inhibit warning messages -Wtrigraphs Warn if trigraphs are encountered -Wno-trigraphs Do not warn about trigraphs -Wcomment{s} Warn if one comment starts inside another -Wno-comment{s} Do not warn about comments -Wtraditional Warn if a macro argument is/would be turned into a string if -traditional is specified -Wno-traditional Do not warn about stringification -Wundef Warn if an undefined macro is used by #if -Wno-undef Do not warn about testing undefined macros -Wimport Warn about the use of the #import directive -Wno-import Do not warn about the use of #import -Werror Treat all warnings as errors -Wno-error Do not treat warnings as errors -Wall Enable all preprocessor warnings -M Generate make dependencies -MM As -M, but ignore system header files -MD As -M, but put output in a .d file -MMD As -MD, but ignore system header files -MG Treat missing header file as generated files -g Include #define and #undef directives in the output -D Define a with string '1' as its value -D= Define a with as its value -A () Assert the to -U Undefine -u or -undef Do not predefine any macros -v Display the version number -H Print the name of header files as they are used -C Do not discard comments -dM Display a list of macro definitions active at end -dD Preserve macro definitions in output -dN As -dD except that only the names are preserved -dI Include #include directives in the output -ifoutput Describe skipped code blocks in output -P Do not generate #line directives -$ Do not include '$' in identifiers -remap Remap file names when including files. -h or --help Display this information Usage: cc1.exe input [switches] Switches: -ffixed- Mark as being unavailable to the compiler -fcall-used- Mark as being corrupted by function calls -fcall-saved- Mark as being preserved across functions -finline-limit- Limits the size of inlined functions to -fident Process #ident directives -fleading-underscore External symbols have a leading underscore -finstrument-functions Instrument function entry/exit with profiling calls -fdump-unnumbered Suppress output of instruction numbers and line number notes in debugging dumps -fprefix-function-name Add a prefix to all function names -fcheck-memory-usage Generate code to check every memory access -fstrict-aliasing Assume strict aliasing rules apply -fargument-noalias-global Assume arguments do not alias each other or globals -fargument-noalias Assume arguments may alias globals but not each other -fargument-alias Specify that arguments may alias each other & globals -fstack-check Insert stack checking code into the program -fgcc-struct Pack structure members using gcc default rules -fnative-struct Pack structure members consistent with some other (native) compiler -fpack-struct Pack structure members together without holes -foptimize-register-move Do the full regmove optimization pass -fregmove Enables a register move optimisation -fgnu-linker Output GNU ld formatted global initialisers -fverbose-asm Add extra commentry to assembler output -fdata-sections place data items into their own section -ffunction-sections place each function into its own section -finhibit-size-directive Do not generate .size directives -fcommon Do not put unitialised globals in the common section -ffast-math Improve FP speed by violating ANSI & IEEE rules -fbranch-probabilities Use profiling information for branch probabilities -ftest-coverage Create data files needed by gcov -fprofile-arcs Insert arc based program profiling code -fasynchronous-exceptions Support asynchronous exceptions -fsjlj-exceptions Use setjmp/longjmp to handle exceptions -fnew-exceptions Use the new model for exception handling -fexceptions Enable exception handling -fpic Generate position independent code, if possible -fbranch-count-reg Replace add,compare,branch with branch on count reg -fschedule-insns2 Run two passes of the instruction scheduler -fschedule-insns Reschedule instructions to avoid pipeline stalls -fpretend-float Pretend that host and target use the same FP format -frerun-loop-opt Run the loop optimiser twice -frerun-cse-after-loop Run CSE pass after loop optimisations -fgcse Perform the global common subexpression elimination -fdelayed-branch Attempt to fill delay slots of branch instructions -freg-struct-return Return 'short' aggregates in registers -fpcc-struct-return Return 'short' aggregates in memory, not registers -fcaller-saves Enable saving registers around function calls -fshared-data Mark data as shared rather than private -fsyntax-only Check for syntax errors, then stop -fkeep-static-consts Emit static const variables even if they are not used -finline Pay attention to the 'inline' keyword -fkeep-inline-functions Generate code for funcs even if they are fully inlined -finline-functions Integrate simple functions into their callers -ffunction-cse Allow function addresses to be held in registers -fforce-addr Copy memory address constants into regs before using -fforce-mem Copy memory operands into registers before using -fpeephole Enable machine specific peephole optimisations -fwritable-strings Store strings in writable data section -freduce-all-givs Strength reduce all loop general induction variables -fmove-all-movables Force all loop invariant computations out of loops -funroll-all-loops Perform loop unrolling for all loops -funroll-loops Perform loop unrolling when iteration count is known -fstrength-reduce Perform strength reduction optimisations -fthread-jumps Perform jump threading optimisations -fexpensive-optimizations Perform a number of minor, expensive optimisations -fcse-skip-blocks When running CSE, follow conditional jumps -fcse-follow-jumps When running CSE, follow jumps to their targets -fomit-frame-pointer When possible do not generate stack frames -fdefer-pop Defer popping functions args from stack until later -fvolatile-static Consider all mem refs to static data to be volatile -fvolatile-global Consider all mem refs to global data to be volatile -fvolatile Consider all mem refs through pointers as volatile -ffloat-store Do not store floats in registers -O[number] Set optimisation level to [number] -Os Optimise for space rather than speed -pedantic Issue warnings needed by strict compliance to ANSI C -pedantic-errors Like -pedantic except that errors are produced -w Suppress warnings -W Enable extra warnings -Winline Warn when an inlined function cannot be inlined -Wuninitialized Warn about unitialized automatic variables -Wcast-align Warn about pointer casts which increase alignment -Waggregate-return Warn about returning structures, unions or arrays -Wswitch Warn about enumerated switches missing a specific case -Wshadow Warn when one local variable shadows another -Wunused Warn when a variable is unused -Wid-clash- Warn if 2 identifiers have the same first chars -Wlarger-than- Warn if an object is larger than bytes -p Enable function profiling -a Enable block profiling -ax Enable jump profiling -o Place output into -G Put global and static data smaller than bytes into a special section (on some targets) -gcoff Generate COFF format debug output -gstabs+ Generate extended STABS format debug output -gstabs Generate STABS format debug output -ggdb Generate default extended debug format output -g Generate default debug format output -aux-info Emit declaration info into .X -quiet Do not display functions compiled or elapsed time -version Display the compiler's version -d[letters] Enable dumps from specific passes of the compiler -dumpbase Base name to be used for dumps from specific passes -sched-verbose- Set the verbosity level of the scheduler --help Display this information Language specific options: -ansi Compile just for ANSI C -fallow-single-precisio Do not promote floats to double if using -traditional -std= Determine language standard -funsigned-bitfields Make bitfields by unsigned by default -fsigned-char Make 'char' be signed by default -funsigned-char Make 'char' be unsigned by default -traditional Attempt to support traditional K&R style C -fno-asm Do not recognise the 'asm' keyword -fno-builtin Do not recognise any built in functions -fhosted Assume normal C execution environment -ffreestanding Assume that standard libraries & main might not exist -fcond-mismatch Allow different types as args of ? operator -fdollars-in-identifier Allow the use of $ inside identifiers -fshort-double Use the same size for double as for float -fshort-enums Use the smallest fitting integer to hold enums -Wall Enable most warning messages -Wbad-function-cast Warn about casting functions to incompatible types -Wmissing-noreturn Warn about functions which might be candidates for attribute noreturn -Wcast-qual Warn about casts which discard qualifiers -Wchar-subscripts Warn about subscripts whose type is 'char' -Wcomment Warn if nested comments are detected -Wcomments Warn if nested comments are detected -Wconversion Warn about possibly confusing type conversions -Wformat Warn about printf format anomalies -Wimplicit-function-dec Warn about implicit function declarations -Wimplicit-int Warn when a declaration does not specify a type -Wimport Warn about the use of the #import directive -Wno-long-long Do not warn about using 'long long' when -pedantic -Wmain Warn about suspicious declarations of main -Wmissing-braces Warn about possibly missing braces around initialisers -Wmissing-declarations Warn about global funcs without previous declarations -Wmissing-prototypes Warn about global funcs without prototypes -Wmultichar Warn about use of multicharacter literals -Wnested-externs Warn about externs not at file scope level -Wparentheses Warn about possible missing parentheses -Wpointer-arith Warn about function pointer arithmetic -Wredundant-decls Warn about multiple declarations of the same object -Wsign-compare Warn about signed/unsigned comparisons -Wunknown-pragmas Warn about unrecognised pragmas -Wstrict-prototypes Warn about non-prototyped function decls -Wtraditional Warn about constructs whose meaning change in ANSI C -Wtrigraphs Warn when trigraphs are encountered -Wwrite-strings Mark strings as 'const char *' Options for Objective C: -gen-decls Dump decls to a .decl file -fgnu-runtime Generate code for GNU runtime environment -fnext-runtime Generate code for NeXT runtime environment -Wselector Warn if a selector has multiple methods -Wno-protocol Do not warn if inherited methods are unimplemented -print-objc-runtime-inf Generate C header of platform specific features Options for C++: -fno-access-control Do not obey access control semantics -fall-virtual Make all member functions virtual -falt-external-template Change when template instances are emitted -fcheck-new Check the return value of new -fconserve-space Reduce size of object files -fno-const-strings Make string literals `char[]' instead of `const char[]' -fno-default-inline Do not inline member functions by default -fno-rtti Do not generate run time type descriptor information -fno-for-scope Scope of for-init-statement vars extends outside -fguiding-decls Implement guiding declarations -fno-gnu-keywords Do not recognise GNU defined keywords -fhandle-signatures Handle signature language constructs -fhonor-std Treat the namespace `std' as a normal namespace -fhuge-objects Enable support for huge objects -fno-implement-inlines Export functions even if they can be inlined -fno-implicit-templates Only emit explicit template instatiations -fno-implicit-inline-te Only emit explicit instatiations of inline templates -finit-priority Handle the init_priority attribute -flabels-ok Labels can be used as first class objects -fnew-abi Enable experimental ABI changes -fno-nonnull-objects Do not assume that a reference is always valid -foperator-names Recognise and/bitand/bitor/compl/not/or/xor -fno-optional-diags Disable optional diagnostics -fpermissive Downgrade conformance errors to warnings -frepo Enable automatic template instantiation -fsquangle Enable squashed name mangling -fstats Display statistics accumulated during compilation -fno-strict-prototype Do not assume that empty prototype means no args -ftemplate-depth- Specify maximum template instantiation depth -fthis-is-variable Make 'this' not be type '* const' -fvtable-gc Discard unused virtual functions -fvtable-thunks Implement vtables using thunks -fweak Emit common-like symbols as weak symbols -fxref Emit cross referencing information -Wreturn-type Warn about inconsistent return types -Woverloaded-virtual Warn about overloaded virtual function names -Wno-ctor-dtor-privacy Don't warn when all ctors/dtors are private -Wnon-virtual-dtor Warn about non virtual destructors -Wextern-inline Warn when a function is declared extern, then inline -Wreorder Warn when the compiler reorders code -Wsynth Warn when synthesis behaviour differs from Cfront -Wno-pmf-conversions Don't warn when type converting pointers to member functions -Weffc++ Warn about violations of Effective C++ style rules -Wsign-promo Warn when overload promotes from unsigned to signed -Wold-style-cast Warn if a C style cast is used in a program -Wno-non-template-frien Don't warn when non-templatized friend functions are declared within a template -Wno-deprecated Don't announce deprecation of compiler features Options for Fortran: -fversion Print g77-specific compiler version info, run internal tests -ff66 Program is written in typical FORTRAN 66 dialect -ff77 Program is written in typical Unix f77 dialect -fno-f77 Program does not use Unix-f77 dialectal features -ff90 Program is written in Fortran-90-ish dialect -fno-automatic Treat local vars and COMMON blocks as if they were named in SAVE statements -fdollar-ok Allow $ in symbol names -fno-f2c f2c-compatible code need not be generated -fno-f2c-library Unsupported; do not generate libf2c-calling code -fflatten-arrays Unsupported; affects code-generation of arrays -ffree-form Program is written in Fortran-90-ish free form -fpedantic Warn about use of (only a few for now) Fortran extensions -fvxt Program is written in VXT (Digital-like) FORTRAN -fno-ugly Disallow all ugly features -fno-ugly-args Hollerith and typeless constants not passed as arguments -fugly-assign Allow ordinary copying of ASSIGN'ed vars -fugly-assumed Dummy array dimensioned to (1) is assumed-size -fugly-comma Trailing comma in procedure call denotes null argument -fugly-complex Allow REAL(Z) and AIMAG(Z) given DOUBLE COMPLEX Z -fno-ugly-init Initialization via DATA and PARAMETER is type-compatible -fugly-logint Allow INTEGER and LOGICAL interchangeability -fxyzzy Print internal debugging-related info -finit-local-zero Initialize local vars and arrays to zero -fno-backslash Backslashes in character/hollerith constants not special (C-style) -femulate-complex Have front end emulate COMPLEX arithmetic to avoid bugs -fno-underscoring Disable the appending of underscores to externals -fno-second-underscore Never append a second underscore to externals -fintrin-case-initcap Intrinsics spelled as e.g. SqRt -fintrin-case-upper Intrinsics in uppercase -fintrin-case-any Intrinsics letters in arbitrary cases -fmatch-case-initcap Language keywords spelled as e.g. IOStat -fmatch-case-upper Language keywords in uppercase -fmatch-case-any Language keyword letters in arbitrary cases -fsource-case-upper Internally convert most source to uppercase -fsource-case-preserve Internally preserve source case -fsymbol-case-initcap Symbol names spelled in mixed case -fsymbol-case-upper Symbol names in uppercase -fsymbol-case-lower Symbol names in lowercase -fcase-strict-upper Program written in uppercase -fcase-strict-lower Program written in lowercase -fcase-initcap Program written in strict mixed-case -fcase-upper Compile as if program written in uppercase -fcase-lower Compile as if program written in lowercase -fcase-preserve Preserve all spelling (case) used in program -fbadu77-intrinsics-del Delete libU77 intrinsics with bad interfaces -fbadu77-intrinsics-dis Disable libU77 intrinsics with bad interfaces -fbadu77-intrinsics-hid Hide libU77 intrinsics with bad interfaces -ff2c-intrinsics-delete Delete non-FORTRAN-77 intrinsics f2c supports -ff2c-intrinsics-disabl Disable non-FORTRAN-77 intrinsics f2c supports -ff2c-intrinsics-hide Hide non-FORTRAN-77 intrinsics f2c supports -ff90-intrinsics-delete Delete non-FORTRAN-77 intrinsics F90 supports -ff90-intrinsics-disabl Disable non-FORTRAN-77 intrinsics F90 supports -ff90-intrinsics-hide Hide non-FORTRAN-77 intrinsics F90 supports -fgnu-intrinsics-delete Delete non-FORTRAN-77 intrinsics g77 supports -fgnu-intrinsics-disabl Disable non-FORTRAN 77 intrinsics F90 supports -fgnu-intrinsics-hide Hide non-FORTRAN 77 intrinsics F90 supports -fmil-intrinsics-delete Delete MIL-STD 1753 intrinsics -fmil-intrinsics-disabl Disable MIL-STD 1753 intrinsics -fmil-intrinsics-hide Hide MIL-STD 1753 intrinsics -funix-intrinsics-delet Delete libU77 intrinsics -funix-intrinsics-disab Disable libU77 intrinsics -funix-intrinsics-hide Hide libU77 intrinsics -fvxt-intrinsics-delete Delete non-FORTRAN-77 intrinsics VXT FORTRAN supports -fvxt-intrinsics-disabl Disable non-FORTRAN-77 intrinsics VXT FORTRAN supports -fvxt-intrinsics-hide Hide non-FORTRAN-77 intrinsics VXT FORTRAN supports -fzeros Treat initial values of 0 like non-zero values -fdebug-kludge Emit special debugging information for COMMON and EQUIVALENCE -fonetrip Take at least one trip through each iterative DO loop -fno-silent Print names of program units as they are compiled -fno-globals Disable fatal diagnostics about inter-procedural problems -ftypeless-boz Make prefix-radix non-decimal constants be typeless -fbounds-check Generate code to check subscript and substring bounds -ffortran-bounds-check Fortran-specific form of -fbounds-check -Wno-globals Disable warnings about inter-procedural problems -Wsurprising Warn about constructs with surprising meanings -I Add a directory for INCLUDE searching -ffixed-line-length- Set the maximum line length Target specific options: -mthreads Use Mingw-specific thread support -mnop-fun-dllimport Ignore dllimport for functions -mdll Generate code for a DLL -mconsole Create console application -mwindows Create GUI application -mno-cygwin Use the Mingw32 interface -mcygwin Use the Cygwin interface -mstack-arg-probe Enable stack probing -mno-move Don't generate mem-mem moves -mmove Generate mem-mem moves -mschedule-prologue Schedule function prologues -mwide-multiply multiplies of 32 bits are 64 bits -mno-wide-multiply multiplies of 32 bits constrained to 32 bits -momit-leaf-frame-point Omit the frame pointer in leaf functions -mfancy-math-387 Generate sin, cos, sqrt for FPU -mno-fancy-math-387 Do not generate sin, cos, sqrt for 387 -mno-fp-ret-in-387 Do not return values of functions in FPU registers -mfp-ret-in-387 Return values of functions in FPU registers -mno-ieee-fp Do not use IEEE math for fp comparisons -mieee-fp Use IEEE math for fp comparisons -mno-svr3-shlib Uninitialized locals in .data -msvr3-shlib Uninitialized locals in .bss -mno-align-double Align doubles on word boundary -malign-double Align some doubles on dword boundary -mno-rtd Use normal calling convention -mrtd Alternate calling convention -mpentiumpro Same as -mcpu=pentiumpro -mpentium Same as -mcpu=pentium -m486 Same as -mcpu=i486 -m386 Same as -mcpu=i386 -mno-soft-float Use hardware fp -msoft-float Do not use hardware fp -mhard-float Use hardware fp -mno-80387 Do not use hardware fp -m80387 Use hardware fp -mbranch-cost= Branches are this expensive (1-5, arbitrary units) -mpreferred-stack-bound Attempt to keep stack aligned to this power of 2 -malign-functions= Function starts are aligned to this power of 2 -malign-jumps= Jump targets are aligned to this power of 2 -malign-loops= Loop code aligned to this power of 2 -mregparm= Number of registers used to pass integer arguments -mreg-alloc= Control allocation order of integer registers -march= Generate code for given CPU -mcpu= Schedule code for given CPU There are undocumented target specific options as well. Usage: as [option...] [asmfile...] Options: -a[sub-option...] turn on listings Sub-options [default hls]: c omit false conditionals d omit debugging directives h include high-level source l include assembly m include macro expansions n omit forms processing s include symbols L include line debug statistics (if applicable) =FILE list to FILE (must be last sub-option) -D produce assembler debugging messages --defsym SYM=VAL define symbol SYM to given value -f skip whitespace and comment preprocessing --gstabs generate stabs debugging information --gdwarf2 generate DWARF2 debugging information --help show this message and exit --target-help show target specific options -I DIR add DIR to search list for .include directives -J don't warn about signed overflow -K warn when differences altered for long displacements -L,--keep-locals keep local symbols (e.g. starting with `L') -M,--mri assemble in MRI compatibility mode --MD FILE write dependency information in FILE (default none) -nocpp ignored -o OBJFILE name the object-file output OBJFILE (default a.out) -R fold data section into text section --statistics print various measured statistics from execution --strip-local-absolute strip local absolute symbols --traditional-format Use same format as native assembler when possible --version print assembler version number and exit -W --no-warn suppress warnings --warn don't suppress warnings --fatal-warnings treat warnings as errors --itbl INSTTBL extend instruction set to include instructions matching the specifications defined in file INSTTBL -w ignored -X ignored -Z generate object file even after errors --listing-lhs-width set the width in words of the output data column of the listing --listing-lhs-width2 set the width in words of the continuation lines of the output data column; ignored if smaller than the width of the first line --listing-rhs-width set the max width in characters of the lines from the source file --listing-cont-lines set the maximum number of continuation lines used for the output data column of the listing -q quieten some warnings Report bugs to bug-binutils@gnu.org Usage: ld [options] file... Options: -a KEYWORD Shared library control for HP/UX compatibility -A ARCH, --architecture ARCH Set architecture -b TARGET, --format TARGET Specify target for following input files -c FILE, --mri-script FILE Read MRI format linker script -d, -dc, -dp Force common symbols to be defined -e ADDRESS, --entry ADDRESS Set start address -E, --export-dynamic Export all dynamic symbols -EB Link big-endian objects -EL Link little-endian objects -f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table -F SHLIB, --filter SHLIB Filter for shared object symbol table -g Ignored -G SIZE, --gpsize SIZE Small data size (if no size, same as --shared) -h FILENAME, -soname FILENAME Set internal name of shared library -l LIBNAME, --library LIBNAME Search for library LIBNAME -L DIRECTORY, --library-path DIRECTORY Add DIRECTORY to library search path -m EMULATION Set emulation -M, --print-map Print map file on standard output -n, --nmagic Do not page align data -N, --omagic Do not page align data, do not make text readonly -o FILE, --output FILE Set output file name -O Optimize output file -Qy Ignored for SVR4 compatibility -q, --emit-relocs Generate relocations in final output -r, -i, --relocateable Generate relocateable output -R FILE, --just-symbols FILE Just link symbols (if directory, same as --rpath) -s, --strip-all Strip all symbols -S, --strip-debug Strip debugging symbols -t, --trace Trace file opens -T FILE, --script FILE Read linker script -u SYMBOL, --undefined SYMBOL Start with undefined reference to SYMBOL --unique [=SECTION] Don't merge input [SECTION | orphan] sections -Ur Build global constructor/destructor tables -v, --version Print version information -V Print version and emulation information -x, --discard-all Discard all local symbols -X, --discard-locals Discard temporary local symbols -y SYMBOL, --trace-symbol SYMBOL Trace mentions of SYMBOL -Y PATH Default search path for Solaris compatibility -(, --start-group Start a group -), --end-group End a group -assert KEYWORD Ignored for SunOS compatibility -Bdynamic, -dy, -call_shared Link against shared libraries -Bstatic, -dn, -non_shared, -static Do not link against shared libraries -Bsymbolic Bind global references locally --check-sections Check section addresses for overlaps (default) --no-check-sections Do not check section addresses for overlaps --cref Output cross reference table --defsym SYMBOL=EXPRESSION Define a symbol --demangle [=STYLE] Demangle symbol names [using STYLE] --dynamic-linker PROGRAM Set the dynamic linker to use --embedded-relocs Generate embedded relocs -fini SYMBOL Call SYMBOL at unload-time --force-exe-suffix Force generation of file with .exe suffix --gc-sections Remove unused sections (on some targets) --no-gc-sections Don't remove unused sections (default) --help Print option help -init SYMBOL Call SYMBOL at load-time -Map FILE Write a map file --no-demangle Do not demangle symbol names --no-keep-memory Use less memory and more disk I/O --no-undefined Allow no undefined symbols --allow-shlib-undefined Allow undefined symbols in shared objects --no-warn-mismatch Don't warn about mismatched input files --no-whole-archive Turn off --whole-archive --noinhibit-exec Create an output file even if errors occur --oformat TARGET Specify target of output file -qmagic Ignored for Linux compatibility --relax Relax branches on certain targets --retain-symbols-file FILE Keep only symbols listed in FILE -rpath PATH Set runtime shared library search path -rpath-link PATH Set link time shared library search path -shared, -Bshareable Create a shared library --sort-common Sort common symbols by size --split-by-file [=SIZE] Split output sections every SIZE octets --split-by-reloc [=COUNT] Split output sections every COUNT relocs --stats Print memory usage statistics --target-help Display target specific options --task-link SYMBOL Do task level linking --traditional-format Use same format as native linker --section-start SECTION=ADDRESS Set address of named section -Tbss ADDRESS Set address of .bss section -Tdata ADDRESS Set address of .data section -Ttext ADDRESS Set address of .text section --verbose Output lots of information during link --version-script FILE Read version information script --version-exports-section SYMBOL Take export symbols list from .exports, using SYMBOL as the version. --warn-common Warn about duplicate common symbols --warn-constructors Warn if global constructors/destructors are seen --warn-multiple-gp Warn if the multiple GP values are used --warn-once Warn only once per undefined symbol --warn-section-align Warn if start of section changes due to alignment --whole-archive Include all objects from following archives --wrap SYMBOL Use wrapper functions for SYMBOL --mpc860c0 [=WORDS] Modify problematic branches in last WORDS (1-10, default 5) words of a page ld: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex ld: supported emulations: i386pe ld: emulation specific options: i386pe: --base_file Generate a base file for relocatable DLLs --dll Set image base to the default for DLLs --file-alignment Set file alignment --heap Set initial size of the heap --image-base
Set start address of the executable --major-image-version Set version number of the executable --major-os-version Set minimum required OS version --major-subsystem-version Set minimum required OS subsystem version --minor-image-version Set revision number of the executable --minor-os-version Set minimum required OS revision --minor-subsystem-version Set minimum required OS subsystem revision --section-alignment Set section alignment --stack Set size of the initial stack --subsystem [:] Set required OS subsystem [& version] --support-old-code Support interworking with old code --thumb-entry= Set the entry point to be Thumb --add-stdcall-alias Export symbols with and without @nn --disable-stdcall-fixup Don't link _sym to _sym@nn --enable-stdcall-fixup Link _sym to _sym@nn without warnings --exclude-symbols sym,sym,... Exclude symbols from automatic export --export-all-symbols Automatically export all globals to DLL --kill-at Remove @nn from exported symbols --out-implib Generate import library --output-def Generate a .DEF file for the built DLL --warn-duplicate-exports Warn about duplicate exports. --compat-implib Create backward compatible import libs; create __imp_ as well. --enable-auto-image-base Automatically choose image base for DLLs unless user specifies one --disable-auto-image-base Do not auto-choose image base. (default) --dll-search-prefix= When linking dynamically to a dll witout an importlib, use .dll in preference to lib.dll --disable-auto-import Do not do sophistcated linking of _sym to __imp_sym for DATA references Report bugs to bug-binutils@gnu.org Usage: GCC.EXE [options] file... Options: --help Display this information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -pipe Use pipes rather than intermediate files -specs= Override builtin specs with the contents of -std= Assume that the input sources are for -B Add to the compiler's search paths -b Run gcc for target , if installed -V Run gcc version number , if installed -v Display the programs invoked by the compiler -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -x Specify the language of the following input files Permissable languages include: c c++ assembler none 'none' means revert to the default behaviour of guessing the language based on the file's extension Options starting with -g, -f, -m, -O or -W are automatically passed on to the various sub-processes invoked by GCC.EXE. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: