How can I do cross Compile Nginx Web Server?

motiee at embedsys.ir motiee at embedsys.ir
Fri Apr 13 16:11:39 UTC 2018


Hi,
 I need to do Cross Compile Nginx Web Server to use on my target board.
 I tried , but ...
  
   hesam at 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.
 
 Best Regards
 Hesam.H.Motiee
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180413/981bff54/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoconf.err
Type: application/octet-stream
Size: 147 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180413/981bff54/attachment.obj>


More information about the nginx mailing list