how Can I Cross Compile nginx web server for arm linux?

Francis Daly francis at daoine.org
Mon Nov 22 12:59:53 UTC 2021


On Mon, Nov 22, 2021 at 06:08:45AM -0500, vrezaei wrote:

Hi there,

> I need to do Cross Compile Nginx Web Server to use on my target board.

See, for example, https://forum.nginx.org/read.php?2,279437,279441 and
https://forum.nginx.org/read.php?2,280952,280953

Cross-compilation is not supported by nginx.

> I follow instructions on this tutorial 
> https://programmer.help/blogs/cross-compiling-nginx-used-on-hi3536.html
> but it wasn't successful.

You are probably more likely to have more success setting up a native
compilation environment for your board, possibly using a virtual machine
instead of the board itself; and then compiling nginx natively there.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list