5.8.7.1. Library Linking Options
5.8.7.1. 库链接选项
Library linking options are missing before version 1.2. 1.2版本之前缺少库链接选项。 |
The following options can be specified when creating a library of compiled binaries.
在创建编译后的二进制文件库时,可以指定以下选项。
-create-library
Create a library of compiled binaries specified in input_programs argument to clLinkProgram.
创建clLinkProgram的input_programs参数中指定的已编译二进制文件库。
-enable-link-options
Allows the linker to modify the library behavior based on one or more link options (described in Program Linking Options) when this library is linked with a program executable. This option must be specified with the create-library option.
当此库与程序可执行文件链接时,允许链接器根据一个或多个链接选项(在“程序链接选项”中描述)修改库行为。此选项必须与创建库选项一起指定。