Mercurial > dropbear
comparison INSTALL @ 1733:d529a52b2f7c coverity coverity
merge coverity from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jun 2020 21:07:34 +0800 |
parents | 295377ecbf49 |
children | 2bf1e97ba3cd |
comparison
equal
deleted
inserted
replaced
1643:b59623a64678 | 1733:d529a52b2f7c |
---|---|
26 | 26 |
27 (you can leave items out of the PROGRAMS list to avoid compiling them. If you | 27 (you can leave items out of the PROGRAMS list to avoid compiling them. If you |
28 recompile after changing the PROGRAMS list, you *MUST* "make clean" before | 28 recompile after changing the PROGRAMS list, you *MUST* "make clean" before |
29 recompiling - bad things will happen otherwise) | 29 recompiling - bad things will happen otherwise) |
30 | 30 |
31 DEVELOPING.md has some notes on other developer topics, including debugging. | |
32 | |
31 See MULTI for instructions on making all-in-one binaries. | 33 See MULTI for instructions on making all-in-one binaries. |
32 | 34 |
33 If you want to compile statically use ./configure --enable-static | 35 If you want to compile statically use ./configure --enable-static |
34 | 36 |
35 By default Dropbear adds various build flags that improve robustness | 37 By default Dropbear adds various build flags that improve robustness |
54 | 56 |
55 Compiling for uClibc should be the same as normal, just set CC to the magic | 57 Compiling for uClibc should be the same as normal, just set CC to the magic |
56 uClibc toolchain compiler (ie export CC=i386-uclibc-gcc or whatever). | 58 uClibc toolchain compiler (ie export CC=i386-uclibc-gcc or whatever). |
57 You can use "make STATIC=1" to make statically linked binaries, and it is | 59 You can use "make STATIC=1" to make statically linked binaries, and it is |
58 advisable to strip the binaries too. If you're looking to make a small binary, | 60 advisable to strip the binaries too. If you're looking to make a small binary, |
59 you should remove unneeded ciphers and MD5, by editing options.h | 61 you should remove unneeded ciphers and MD5, by editing localoptions.h |
60 | 62 |
61 It is possible to compile zlib in, by copying zlib.h and zconf.h into a | 63 It is possible to compile zlib in, by copying zlib.h and zconf.h into a |
62 subdirectory (ie zlibincludes), and | 64 subdirectory (ie zlibincludes), and |
63 | 65 |
64 export CFLAGS="-Izlibincludes -I../zlibincludes" | 66 export CFLAGS="-Izlibincludes -I../zlibincludes" |