Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: PDP-8 on January 15, 2018, 08:26:24 PM
-
That is, can TC be compiled *without* using things like bash, coreutils etc etc and rely solely upon busybox/ash itself?
Sure libraries are one thing, but wondering if/how to use the existing tc environment to compile itself upon?
Easy - hard ?? I honestly don't know since I don't have any programmer chops. Just wondering, not trying to start a flamewar. :)
-
Nope. The Linux kernel requires bash and perl and bc and probably a few others busybox doesn't do.
-
to PDP-8: just for fun/learning, you could have a look at http://landley.net/toybox/about.html
"Toybox aims to provide one quarter of a theoretical "minimal native development environment", which is the simplest Linux system capable of rebuilding itself from source code and then building Linux From Scratch.."
-
part of the reason for the compiletc meta-extension is that the busybox equivalents work 95% of the time when compiling a toolchain, but often fail in non-obvious ways the other 5% of the time