1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-26 09:52:12 +03:00

Updated Developer guides (markdown)

Piña Colada 2021-05-24 22:40:15 +05:30
parent 8f9b2f92da
commit 57fa5eda89

@ -88,7 +88,7 @@ More details [here](https://github.com/jarun/nnn/wiki/Advanced-use-cases#file-ic
#### Compile out locale #### Compile out locale
make O_NOLOC=1 make O_NOLC=1
Unsupported characters in file names will be replaced by `?`. Operations on files work seamlessly. Unsupported characters in file names will be replaced by `?`. Operations on files work seamlessly.
@ -126,7 +126,7 @@ Verify the binary.
Careful use of make variables, static compilation and [upx](https://upx.github.io/) compression can do wonders! Careful use of make variables, static compilation and [upx](https://upx.github.io/) compression can do wonders!
``` ```
$ make CFLAGS+=-march=corei7 O_NORL=1 O_NOMOUSE=1 O_NOLOC=1 O_NOBATCH=1 O_NOSSN=1 O_NOFIFO=1 O_QSORT=1 O_NOUG=1 static $ make CFLAGS+=-march=corei7 O_NORL=1 O_NOMOUSE=1 O_NOLC=1 O_NOBATCH=1 O_NOSSN=1 O_NOFIFO=1 O_QSORT=1 O_NOUG=1 static
$ upx nnn-static $ upx nnn-static
$ ls -l nnn-static $ ls -l nnn-static
-rwxrwxr-x 1 user user 593808 Nov 2 00:45 nnn-static -rwxrwxr-x 1 user user 593808 Nov 2 00:45 nnn-static