Welcome! Log In Create A New Profile

Advanced

Re: How can I do cross Compile Nginx Web Server?

All files from this thread

File Name File Size   Posted by Date  
autoconf.err 147 bytes open | download motiee@embedsys.ir 04/13/2018 Read message
Maxim Dounin
April 13, 2018 02:36PM
Hello!

On Fri, Apr 13, 2018 at 08:41:39PM +0430, motiee@embedsys.ir wrote:

> Hi,
> I need to do Cross Compile Nginx Web Server to use on my target board.
> I tried , but ...
>
> hesam@hesam-MS-7392:~/temp/nginx-1.9.9$ ./configure
> --crossbuild=Linux::arm
> --with-cc="/home/hesam/g25/arm-2011.09/bin/arm-none-linux-gnueabi-gcc"
> --with-ld-opt="/usr/arm-linux-gnueabi/lib"
> --with-cc-opt="/usr/arm-linux-gnueabi/include"building for Linux::arm
> checking for C compiler ... found but is not working
> ./configure: error: C compiler
> /home/hesam/g25/arm-2011.09/bin/arm-none-linux-gnueabi-gcc is not found
>
>
> Please tell me how can I do it?
>
> Note: The "autoconf.err" file is attached.

Cross-compilation is not supported by nginx (except
cross-compilation for win32 using wine, and this what --crossbuild
to be used for). You need a native toolchain to build nginx.

If your board is not powerful enough, consider using a virtual
machine.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How can I do cross Compile Nginx Web Server? Attachments

motiee@embedsys.ir April 13, 2018 12:14PM

Re: How can I do cross Compile Nginx Web Server?

Maxim Dounin April 13, 2018 02:36PM

Re: How can I do cross Compile Nginx Web Server?

motiee@embedsys.ir April 13, 2018 04:06PM

Re: How can I do cross Compile Nginx Web Server?

Maxim Dounin April 14, 2018 09:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready