Intel® FPGA SDK for OpenCL™ Standard Edition: Programming Guide

ID 683342
Date 4/22/2019
Public
Document Table of Contents

12.1.5. Packaging Multiple Object Files into a Library File

After creating the .aoco files that you want to include into an OpenCL™ library, package them into a library file by invoking the Intel® FPGA SDK for OpenCL™ library utility command option.
To package multiple object files into a single library file, invoke the following command: aocl library create -o <library file name>.aoclib <object file 1>.aoco [<object file 2>.aoco ... <object file N>.aoco]
The aocl library utility command creates a <library file name>.aoclib library file, which includes the .aoco object files you specify in the command. A library file may contain both RTL-based object files and OpenCL-based object files.