0

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

user3391612
  • 71
  • 1
  • 1
  • 4

1 Answers1

0

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).

Aimery
  • 1,559
  • 1
  • 19
  • 24