Cross Compiling Nginx
rdkehn at yahoo.com
Wed Dec 28 15:46:05 UTC 2011
I'm cross compiling Nginx for an ARM Cortex A8 processor. Attached is a patch for review which allows Nginx to be cross compiled. I believe the patch is generic enough to allow Nginx to be cross compiled in any cross compile environment. I also don't believe that I've broken any existing functionality. After applying the patch, Nginx can be cross compiled with:
./configure \--prefix= \
In my case $(ARCH) = arm, $(ENDIAN) = little, and $(CFLAGS)/$(LDFLAGS) are set according to my environment. The variable sizes were determined empirically by cross compiling a simple program and executing on the target.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8962 bytes
Desc: not available
More information about the nginx-devel