I want to use libuv as a library for my project, (i.e) libuv.a. I compiled for arm64/arm32 architectures. I need to compile for armeabi-v7a,armeabi-v8a, MIPs architectures. Can someone guide me?
thanks Ananth
I want to use libuv as a library for my project, (i.e) libuv.a. I compiled for arm64/arm32 architectures. I need to compile for armeabi-v7a,armeabi-v8a, MIPs architectures. Can someone guide me?
thanks Ananth
So you want to cross-compile libuv
(ie, compile it for a target architecture that is different from that of the computer you use to compile).
Since libuv
uses automake
for compilation, a good starting point is the configure options page, in particular the --host=
option.
./configure --host=<host>
Also, this SO post may be helpful.
Lastly, note you may have to configure your compiler so it supports cross-compiling (for example, see this SO post for gcc
and Ubuntu).