• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Multi-binary compilation
2========================
3
4To compile for systems without much space (floppy distributions etc), you
5can create a single binary. This will save disk space by avoiding repeated
6code between the various parts.
7If you are familiar with "busybox", it's the same principle.
8
9To compile the multi-binary, first "make clean" (if you've compiled
10previously), then
11
12make PROGRAMS="programs you want here" MULTI=1
13
14To use the binary, symlink it from the desired executable:
15
16ln -s dropbearmulti dropbear
17ln -s dropbearmulti dbclient
18etc
19
20then execute as normal:
21
22./dropbear <options here>
23
24"make install" doesn't currently work for multi-binary configuration, though
25in most situations where it is being used, the target and build systems will
26differ.
27