Linux - 6.0 English - PG104

Complex Multiplier LogiCORE IP Product Guide (PG104)

Document ID
PG104
Release Date
2024-11-26
Version
6.0 English

The executable must be linked against the following shared object libraries:

  • libgmp.so.11
  • libmpfr.so.4
  • libIp_cmpy_v6_0_bitacc_cmodel.so

Using GCC, linking is typically achieved by adding the following command line options:

-L. -Wl, -rpath,. -lIp_cmpy_v6_0_bitacc_cmodel

This assumes the shared object libraries are in the current directory. If this is not the case, the -L. option should be changed to specify the library search path to use.

Using GCC, the provided example program run_bitacc_cmodel.c can be compiled and linked using the following command:

gcc -x c++ -I. -L. -lIp_cmpy_v6_0_bitacc_cmodel -Wl, -rpath,. -o run_bitacc_cmodel run_bitacc_cmodel.c