-
Notifications
You must be signed in to change notification settings - Fork 11
Using with dietlibc
Frank Earl edited this page Dec 12, 2019
·
2 revisions
To recompile the runit programs with the diet libc:
- Verify you have the latest version of (diet libc)[http://www.fefe.de/dietlibc/] installed on your sysroot.
- Change into the runit sources directory.
- Export the following modification to your C compiler default commandline- "export CC="diet -Os $CC" where "diet" is the searchable path to the diet libc wrapper for things. (If you've got diet in the search path, nothing else should be needed)
- Ensure your CMake environment is at distclean stage (No CMakeFiles or other related cache files from a cmake . or similar present in the build directory)
- Run cmake on the project sources for a builddir setup for make to build your code.
- Build things as normal from there on out.
About runit:
Benefits
Frequently Asked Questions (FAQ)
Building runit:
Setting up runit:
Replacing Init
Running WITH Init
Runlevels
Service Dependencies
Execution Modifiers
Using runit commands:
runit
runit-init
sv
runsvdir
runsvchdir
runsv
svlogd
chpst
utmpset