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

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

6.6.2.2. Displaying Paths to OpenCL Host Runtime and MMD Libraries (ldflags)

To display the paths necessary for linking a host application to the OpenCL host runtime and MMD libraries, invoke the ldflags utility command.
At a command prompt, invoke the aocl ldflags utility command.
The software displays the paths for linking your host application with the following libraries:
  1. The OpenCL™ host runtime libraries that provide OpenCL platform and runtime APIs. The OpenCL host runtime libraries are available in the INTELFPGAOCLSDKROOT/host/<OS_platform>/lib directory.
  2. The path to the Custom Platform-specific MMD libraries. The MMD libraries are available in the <board_family_name>/<OS_platform>/lib directory of your Custom Platform.
Note: If you set up FCD correctly, the software will not print the path to the MMD libraries because the host no longer needs to link to the MMD libraries directly. The MMD libraries will be loaded during runtime through FCD.