Skip to content
forked from nginx/nginx

nginx tree with changes needed for cross-compiling to 64-bit RISC-V

Notifications You must be signed in to change notification settings

olajep/riscv-nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx for RISC-V

nginx tree with changes needed for cross-compiling to 64-bit RISC-V.

Usage

./auto/configure \
--with-cc=`which riscv64-unknown-linux-gnu-gcc` \
--with-cpp=`which riscv64-unknown-linux-gnu-cpp` \
--without-http_rewrite_module \
--without-http_gzip_module \
--with-cc-opt="-DAO_USE_PTHREAD_DEFS=1 -DNGX_HAVE_MAP_ANON=1 -DNGX_HAVE_LIBATOMIC=1 -DNGX_SYS_NERR=150 -Isrc/libatomic_ops" \
--with-libatomic \
--with-ld-opt="-lpthread"

make

About

nginx tree with changes needed for cross-compiling to 64-bit RISC-V

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.7%
  • Vim Script 2.3%
  • Other 1.0%