usage: fbc [options]
input files:
*.a = static library, *.o = object file, *.bas = source
*.rc = resource script, *.res = compiled resource (win32)
*.xpm = icon resource (*nix/*bsd)
options:
@ Read more command line arguments from a file
-a Treat file as .o/.a input file
-arch Set target architecture (default: 686)
-asm att|intel Set asm format (-gen gcc|llvm, x86 or x86_64 only)
-b Treat file as .bas input file
-c Compile only, do not link
-C Preserve temporary .o files
-d [=] Add a global #define
-dll Same as -dylib
-dylib Create a DLL (win32) or shared library (*nix/*BSD)
-e Enable runtime error checking
-ex -e plus RESUME support
-exx -ex plus array bounds/null-pointer checking
-export Export symbols for dynamic linkage
-forcelang Override #lang statements in source code
-g Add debug info, enable __FB_DEBUG__, and enable assert()
-gen gas|gas64|gcc|llvm Select code generation backend
[-]-help Show this help output; use '-help -v' to show verbose help
-i Add an include file search path
-include Pre-#include a file for each input .bas
-l Link in a library
-lang Select FB dialect: fb, deprecated, fblite, qb
-lib Create a static library
-m Specify main module (default if not -c: first input .bas)
-map Save linking map to file
-maxerr Only show errors
-mt Use thread-safe FB runtime
-nodeflibs Do not include the default libraries when linking
-noerrline Do not show source context in error messages
-nolib Do not include the specified libraries when linking
-noobjinfo Do not read/write compile-time info from/to .o and .a files
-nostrip Do not strip symbol information from the output file
-o Set .o (or -pp .bas) file name for prev/next input file
-O Optimization level (default: 0)
-p Add a library search path
-pic Generate position-independent code (non-x86 Unix shared libs)
-pp Write out preprocessed input file (.pp.bas) only
-prefix Set the compiler prefix path
-print host|target Display host/target system name
-print fblibdir Display the compiler's lib/ path
-print x Display output binary/library file name (if known)
-profile Enable function profiling
-r Write out .asm/.c/.ll (-gen gas/gcc/llvm) only
-rr Write out the final .asm only
-R Preserve temporary .asm/.c/.ll/.def files
-RR Preserve the final .asm file
-s console|gui Select win32 subsystem
-showincludes Display a tree of file names of #included files
-static Prefer static libraries over dynamic ones when linking
-strip Omit all symbol information from the output file
-t Set .exe stack size in kbytes, default: 1024 (win32/dos)
-target Set cross-compilation target
-title Set XBE display title (xbox)
-v Be verbose
-vec Automatic vectorization level (default: 0)
[-]-version Show compiler version
-w all|pedantic| Set min warning level: all, pedantic or a value
-Wa Pass options to 'as'
-Wc Pass options to 'gcc' (-gen gcc) or 'llc' (-gen llvm)
-Wl Pass options to 'ld'
-x Set output executable/library file name