Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Using NGX_THREADS & corss compiling for powerpc

$
0
0
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 ??)

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>