Compiler Option: -b
Documentation
Add a source file to compilationSyntax
[ -b ] < source file >
Parameters
source fileThe name with extension, and optionally a path, of the basic source file.
Description
The
To compile and link the source files file1.bas, file2.bas and file3.fb into an executable (file1.exe in DOS/Windows, file1 in Linux), type,
Note that the
-b option adds a source file to the compilation list. In general, this option is redundant since source files with a .bas extension can be specified without it, but is useful if a source file does not have a .bas extension, or if exists in an other directory.To compile and link the source files file1.bas, file2.bas and file3.fb into an executable (file1.exe in DOS/Windows, file1 in Linux), type,
fbc -b file1.bas file2.bas -b file3.fb-b option was not needed for file1.bas or file2.bas.See also