Build nginx for ARMV7l

Maxim Dounin mdounin at mdounin.ru
Thu Aug 23 17:08:18 UTC 2018


Hello!

On Thu, Aug 23, 2018 at 12:55:16PM -0400, shepardeg wrote:

> Good afternoon, community! There was a need to compile nginx under the
> ARMV7L platform, but the guides on the links do not help. 
> https://superuser.com/questions/1098001/nginx-on-armv7l-installation
>  or this
> http://tiebing.blogspot.com/2014/09/cross-compile-nginx-for-arm.html
> 
> Maybe there is another way?

Don't try to cross-compile nginx unless you understand what are 
you doing and ready handle miscompiled results; nginx does not 
support cross-compilation.

Use native compilation instead.  That is, compile nginx on an 
ARM7L host - either on the host you are planning to use it on, or 
in a virtual machine.

There should no problems with native compilation, just a usual 
"./configure && make" will do the trick (see 
http://nginx.org/en/docs/configure.html for details).

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list