2014-03-31 11:18:32 +00:00
|
|
|
ubase - suckless linux base utils
|
|
|
|
=================================
|
2013-09-04 10:56:22 +00:00
|
|
|
|
2014-03-31 11:18:32 +00:00
|
|
|
ubase is a collection of tools similar in spirit to util-linux but
|
|
|
|
much simpler.
|
2013-09-04 10:56:22 +00:00
|
|
|
|
2014-03-31 11:18:32 +00:00
|
|
|
The complement of ubase is sbase[1] which mostly follows POSIX and
|
|
|
|
provides all the portable tools. Together they are intended to form a
|
|
|
|
base system similar to busybox but much smaller and suckless.
|
|
|
|
|
|
|
|
Building
|
|
|
|
--------
|
|
|
|
|
|
|
|
To build ubase, simply type make. You may have to fiddle with
|
2014-06-30 13:18:06 +00:00
|
|
|
config.mk and config.h depending on your system.
|
2014-03-31 11:18:32 +00:00
|
|
|
|
|
|
|
You can also build ubase-box, which generates a single binary
|
|
|
|
containing all the required tools. You can then symlink the
|
2015-02-28 14:39:09 +00:00
|
|
|
individual tools to ubase-box or run: make ubase-box-install.
|
2014-06-28 20:02:47 +00:00
|
|
|
|
2015-02-28 14:39:09 +00:00
|
|
|
To run the tools for ubase-box directly use: ubase-box cmd [args]
|
2014-03-31 11:18:32 +00:00
|
|
|
|
|
|
|
Ideally you will want to statically link ubase. We highly recommend
|
|
|
|
using musl-libc[2].
|
|
|
|
|
2014-06-04 12:31:48 +00:00
|
|
|
ubase is known to compile with gcc, clang and tcc.
|
2014-04-14 13:44:58 +00:00
|
|
|
|
2014-03-31 11:18:32 +00:00
|
|
|
[1] http://git.suckless.org/sbase/
|
|
|
|
[2] http://www.musl-libc.org/
|