Updated Developer guides (markdown)

Piña Colada 2021-05-11 17:05:28 +05:30
parent 5241ab57f0
commit 0652402e36

@ -192,15 +192,15 @@ In this example we will compile `nnn` with [netbsd-curses](https://github.com/sa
#### Compile `nnn`
# Shared
# shared
musl-gcc -O3 -DNORL -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo
# Shared custom
# shared custom
musl-gcc -O3 -DNORL -DNOLOCALE -DNOMOUSE -DNOBATCH -DNOFIFO -DTOURBIN_QSORT -DNOSSN -DNOUG -DNOX11 -march=corei7 -I/path_to/netbsd-curses/libcurses -o nnn src/nnn.c -Wl,-Bsymbolic-functions -L/opt/netbsd-curses -lcurses -lterminfo
# Note: For static compilation append `-static` to the above commands
# Strip the binary
# strip the binary
strip nnn
#### Run