Welcome! Log In Create A New Profile

Advanced

Using NGX_THREADS & corss compiling for powerpc

Posted by niteshnarayanlal 
Using NGX_THREADS & corss compiling for powerpc
March 23, 2015 02:57AM
I have couple of queries:
I am trying to cross compile NGINX for powerpc. From what I read over internet, I figured out that we just have to specify the path of the toolchain and arch in the environment variables CC & ARCH respectively.
Followed by running ./configure --with-openssl=./openssl
and
make
But when I am runnning the configure command, I am getting the error:
./configure: error: C compiler ...../powerpc-linux-gnu-gcc is not found

I use the same tool chain for cross-compiling my other tools as well and didn't faced this kind of issue.

The other thing which obtrused me is the MARCO "NGX_THREADS".
I am really trying to find out its usage, and how to compile NGINX with it.(Does it actually compiles it in thread mode ??)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready