Cross Compiling nginx-1.0.11

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. :slight_smile:

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,221430,221430#msg-221430

Hello!

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

                             --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. :slight_smile:

Cross-compilation isn’t currently supported by nginx.

Maxim D.

Hello!

On Fri, Dec 06, 2013 at 06:27:52AM -0800, Shenchen foundshany wrote:

hi,
do you have a plan to supported cross-compilation nginx. how to do it,
thanks

There are no plans to support cross-compilation.


Maxim D.
http://nginx.org/en/donation.html