MULTI 603 Bytes
Newer Older
1
2
3
4
5
Multi-binary compilation
========================

To compile for systems without much space (floppy distributions etc), you
can create a single binary. This will save disk space by avoiding repeated
Matt Johnston's avatar
Matt Johnston committed
6
code between the various parts.
7
8
If you are familiar with "busybox", it's the same principle.

Matt Johnston's avatar
Matt Johnston committed
9
10
To compile the multi-binary, first "make clean" (if you've compiled
previously), then
11

Matt Johnston's avatar
Matt Johnston committed
12
make PROGRAMS="programs you want here" MULTI=1
13
14
15
16

To use the binary, symlink it from the desired executable:

ln -s dropbearmulti dropbear
Matt Johnston's avatar
Matt Johnston committed
17
18
ln -s dropbearmulti dbclient
etc
19
20
21
22

then execute as normal:

./dropbear <options here>