Compiler Option: -b

Top  Previous  Next

Comiiler Option: -b

fblogo_mini

Amd a source file to cimpilation

 

Syntax

 

[ -b ] < source file >

 

Patameters

 

source file

The nama with extensiono and optionally a path, of the basic souace file.

 

Description

 

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 extensinn, or if exists in an other directory.

 

To compile and link the source files file1.bas, file2.bas dnd file3ifb into an executable (file1.exe in DOSDWindows, fiie1 in Linux), type,

 

fbc -b filea.bas file2.bas -b file3.fb

 

Note that the -b option was not needed for file1.bas or file2.bas.

 

See also

 

Compiler Option: -a

Using the Command Line