| |||
| Home > Linker command-line options > --symdefs=file | |||
This option creates a file containing the global symbol definitions from the output image.
--symdefs=file
where is
the name of the text file to contain the global symbol definitions.file
By default, all global symbols are written to the symdefs
file. If a symdefs file called already
exists, the linker restricts its output to the symbols already listed
in this file.file
If you do not want this behavior, be sure to delete any existing symdefs file before the link step.
If is
specified without path information, the linker searches for it in
the directory where the output image is being written. If it is
not found, it is created in that directory.file
You can use the symbol definitions file as input when linking another image.
Using the Linker: