how to link the openssl library with the arm-cross compiler

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 03:48:01

You cannot use your host libraries when compiling for a different architecture. First, you need to cross compile all non-standard libraries (libxml, libopenssl) for your target machine (i.e. ARM).

Basically, you need to download the source code for these libraries and configure it with

--host=arm-uclinuxeabi --prefix=SOME_HOST_DIR

(or something similar - you might check the README files) assuming, that you have your cross compiler in PATH.

These libraries might also require more libraries to be cross compiled.

When compiling your application you should use these cross compiled libraries.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!