This library provides an interface to implement command line interfaces. It has no dependency except libc, and it contains its own (lightweight) alternative to readline. The libcmdline library was initially designed for very small devices like microcontrollers or embedded devices running outside an OS, but it also fully works under linux. To compile: make Then install it: make install PREFIX=/usr/local If you don't have libevent on your system, edit the libcmdline.vars.mk file and comment the related line. To cross-compile the library (example for powerpc): make CROSS=powerpc-linux-gnu-