Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Using FL to Link without Compiling
◄Up► ◄Contents► ◄Index► ◄Back►
─────Using FL to Link without Compiling─────────────────────────────────────
FL can link object files previously compiled. If all of the files
on the command line have extensions other than .FOR, and if no /Tf
options appear, FL skips the compiling stage and links the files.
Alternately, link object files with the following form of the
FL command:
FL objfile[, objfile...] /link [libfield] [linkoptions]
When FL links object files, it gives the resulting executable file
the base name of the first object file on the command line, plus
an .EXE extension, by default. Alternately, you can specify files
with the .LIB extension without the /link option.
Command options beginning with /F allow you to supply the file
names and options that would otherwise appear on the LINK command
line (or in response to LINK prompts). Valid /F options and their
LINK equivalents are:
FL option LINK Field/Prompt/Option
/Fe exefile The <exefile> field or "Run File"
prompt
/Fm mapfile The <mapfile> field or "List File"
prompt
/link libfield linkoptions The <libfield> field or "Libraries"
prompt, and any valid LINK option
/F hexnum The /STACK option
If you use the /link <libfield linkoptions> option with the FL
command, it must be the last option on the command line.
NOTE: The FL command normally links without having to specify the
/link option. However, you can include the /link option in an FL
command line if you wish to modify the linking process, such as
by specifying a different library.
-♦-