How can I do cross Compile Nginx Web Server?

Maxim Dounin mdounin at
Sun Apr 15 01:03:46 UTC 2018


On Sat, Apr 14, 2018 at 12:34:39AM +0430, motiee at wrote:

>  My target Board is  (target 
> OS: Linux 3.6.9)
>  I need Web server , what is your advice?
>  would you please tell me more? (I am new in Linux world).
>  I have Install Nginx on my Host system (abuntu 16.0.4 LTS ) with out any 
> problem, but I need to a web server on my Target .

If you are new to *nix systems, the best approach might be to just 
install a pre-compiled package from your board OS vendor.  Consult 
your board documentation for details.

If you want to compile nginx from sources, you have to do it on 
the board itself (== native compilation).  To do this, you have to 
install compiler on the board itself, and then run "./configure && 
make" (again, on the board itself).

Maxim Dounin

More information about the nginx mailing list