Cross Compiling nginx-1.0.11

Maxim Dounin mdounin at mdounin.ru
Thu Jan 19 10:58:42 UTC 2012


Hello!

On Thu, Jan 19, 2012 at 02:06:32AM -0500, sandeeppatel wrote:

> Hi ,
> I want to know how to cross compile nginx-1.0.11.
> 
> I have already tried :  --with-cc option
> but it is giving me an error : checking for C compiler ... found but is
> not working
> 
>                                         ./configure: error: C compiler
> arm-linux-gcc is not found
>                                         
>                                  --with-cc-opt is also not working.
> I tried to change compiler manually too(by changing a Makefile).
> 
> I have already install arm-linux-gcc and its working fine with
> openssl(It successfully cross compiled openssl. so problem is not with
> arm-linux compiler).
> 
> Any help will be highly appreciated .. 
> Thanks in advance. :)

Cross-compilation isn't currently supported by nginx.

Maxim Dounin



More information about the nginx mailing list