Compiler Options
 
Command line compiler options for the fbc compiler:

    • Read (additional) command-line options from the file
    • Add an object file to linker's list
    • Set target architecture (default: 486)
    • Sets the assembler format for Asm block
    • Add a source file to compilation
    • Compile only, do not link
    • Do not delete the object file(s)
    • Add a preprocessor's define
    • Create a DLL, including the import library. (Same as -dylib)
    • Create a DLL, including the import library
    • Add error checking
    • Add error checking with RESUME support
    • Same as -ex plus array bounds and null-pointer checking
    • Export symbols for dynamic linkage
    • Select language compatibility, overriding #lang/$lang in code
    • Select between fast and accurate floating-point operations (default: PRECISE)
    • Set the floating point arithmetics unit (default: FPU)
    • Add debug info
    • Sets the compiler backend (default is 'gas')
    • Add a path to search for include files
    • Include a header file on each source compiled
    • Add a library file to linker's list
    • Select language compatibility: fb, fblite, qb, deprecated
    • Create a static library
    • Main file without extension, the entry point (default is the first .bas file on the command line)
    • Save the linking map to file name
    • Only stop parsing if <val> errors occurred
    • Link with thread-safe runtime library
    • Do not include the default libraries
    • Do not show source line where error occurred
    • Set object file path/name (must be passed after the .bas file)
    • Set the optimization level (-gen gcc)
    • Add a path to search for libraries
    • Generate position-indepedent code (non-x86 Unix shared libs)
    • Emit the preprocessed input file only, do not compile
    • Set the compiler prefix path
    • Let the compiler display certain information (host, target, x)
    • Enable function profiling
    • Compile into *.asm/*.c/*.ll file(s) only, do not assemble or link
    • Preserve intermediate *.asm/*.c/*.ll file(s) generated by compilation
    • Compile into *.asm file(s) only, do not assemble or link
    • Preserve intermediate *.asm files generated by compilation
    • Set subsystem (gui, console)
    • Display a tree of file names of #included files
    • Prefer static libraries over dynamic ones when linking
    • Set the target platform for cross compilation
    • Set stack size in kbytes (default: 1M)
    • Be verbose
    • Set level of vector optimizations enabled by the compiler (default: 0)
    • Show compiler version
    • Set min warning level: all, pedantic or a value
    • Pass options to GAS (separated by commas)
    • Pass options to GCC (separated by commas)
    • Pass options to LD (separated by commas)
    • Set executable/library path/name
    • Sets miscellaneous or experimental options

See also