comparison README @ 1176:9ccb7c975a5e draft

The README trailed off into unfinished confusion at the end, fix up the obvious parts.
author Rob Landley <rob@landley.net>
date Wed, 01 Jan 2014 13:24:03 -0600
parents 5dcfb58916a7
children fee58d039b72
comparison
equal deleted inserted replaced
1175:0e1b95219311 1176:9ccb7c975a5e
69 three packages: an operating system kernel (Linux) to drive the hardware, 69 three packages: an operating system kernel (Linux) to drive the hardware,
70 a program for the system to run (toybox), and a C library to tie them 70 a program for the system to run (toybox), and a C library to tie them
71 together (toybox has been tested with musl, uClibc, and glibc, on Android 71 together (toybox has been tested with musl, uClibc, and glibc, on Android
72 systems musl is recommended).</p> 72 systems musl is recommended).</p>
73 73
74 <p>The C library is part of a "toolchain", which is an integrated suite 74 The C library is part of a "toolchain", which is an integrated suite
75 of compiler, assembler, and linker, plus the standard headers and libraries 75 of compiler, assembler, and linker, plus the standard headers and libraries
76 necessary to build C programs.</p> 76 necessary to build C programs.
77 77
78 78 Static linking (with the --static option) copies the shared library contents
79 Static linking (with the --static option) 79 into the program, resulting in larger but more portable programs, which
80 copies the shared library contents into the program, resulting in 80 can run even if they'rr the only file in the filesystem. Otherwise,
81 larger but more portable programs. Dynamically linked programs (the default) 81 the "dynamically" linked programs require the library files to be present on
82 Otherwise, the 82 the target system ("man ldd" and "man ld.so" for details).
83 "dynamically" linked programs require the
84 library to be present on the target system ("man ldd" and "man ld.so" for
85 details) statically linked programs do not.</p>
86 83
87 Toybox is not a kernel, it needs Linux to drive the hardware. 84 Toybox is not a kernel, it needs Linux to drive the hardware.
88 85
89 An example toybox-based system is Aboriginal Linux: 86 An example toybox-based system is Aboriginal Linux:
90 87