Download GPRbuild User's Guide

Transcript
GPRbuild User’s Guide
for Driver ("Ada") use "/.../gprbind";
• Required Switches (<language>)
Specifies the minimum options to be used when invoking the binder driver.
These options are put in the appropriate section in the binder exchange file,
one option per line. Example:
for Required_Switches ("Ada") use ("--prefix=<prefix>");
• Prefix (<language>)
Specifies the prefix to be used in the name of the binder exchange file.
Example:
for Prefix ("C++") use ("c__");
• Objects Path (<language>)
Specifies the name of an environment variable that is used by the compiler
to get the object search path. The value of the environment variable is the
object search path to be used by the compiler. Example:
for Objects_Path ("Ada") use "ADA_OBJECTS_PATH";
• Objects Path File (<language>)
Specifies the name of an environment variable that is used by the compiler
to get the object search path. The value of the environment variable is the
path name of a text file that contains the path names of the directories of
the object search path. Example:
for Objects_Path_File ("Ada") use "ADA_PRJ_OBJECTS_FILE";
3.3.6 Package Linker
• Driver
Specifies the name of the executable of the linker. Example:
for Driver use "g++";
• Required Switches
Specifies the minimum options to be used when invoking the linker. Those
options are happened at the end of the link command so that potentially
conflicting user options take precedence.
102