Next: , Previous: Pragma License, Up: Implementation Defined Pragmas


Pragma Link_With

Syntax:

     pragma Link_With (static_string_EXPRESSION {,static_string_EXPRESSION});

This pragma is provided for compatibility with certain Ada 83 compilers. It has exactly the same effect as pragma Linker_Options except that spaces occurring within one of the string expressions are treated as separators. For example, in the following case:

     pragma Link_With ("-labc -ldef");

results in passing the strings -labc and -ldef as two separate arguments to the linker. In addition pragma Link_With allows multiple arguments, with the same effect as successive pragmas.