This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using gmp library on Keystone 2

I am trying to use the gmp library on a K2 under linux where the build is performed on a host. I included gmp in the image recipe and the both the header and library files get built and placed in the runtime file system. But, they do not appear to be part of the build system on the host.

I created a kludge to make it work by including the paths to the run-time header and libraries in the source and Makefile of the application. For example:

#include "../k2Bsp/yocto/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/gmp/5.1.0-r2/image/usr/include/gmp.h"

This works, but I am not sure that it is what is intended. How do I properly incorporate the gmp library into the host build system?

Thanks,

Lance