Cross Compiling nginx-1.0.11

184 views
Skip to first unread message

sandeeppatel

unread,
Jan 19, 2012, 2:06:32 AM1/19/12
to ng...@nginx.org
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. :)

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

_______________________________________________
nginx mailing list
ng...@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Maxim Dounin

unread,
Jan 19, 2012, 5:58:42 AM1/19/12
to ng...@nginx.org
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

Reply all
Reply to author
Forward
0 new messages