Linux - 7.2 English

FIR Compiler (PG149)

Document ID
PG149
Release Date
2022-10-26
Version
7.2 English

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

libgmp.so.11

libIp_fir_compiler_v7_2_bitacc_cmodel.so

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

-L. -Wl,-rpath,. -lIp_fir_compiler_v7_2_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_fir_compiler_v7_2_bitacc_cmodel -Wl,-rpath,. -o run_bitacc_cmodel run_bitacc_cmodel.c

Note: The C model dynamically links to gmpxx.so.1 and therefore must be visible to the model while running.