Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: PDP-8 on January 15, 2018, 05:26:24 PM

Title: Can TinyCore be self-hosting?
Post by: PDP-8 on January 15, 2018, 05: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. :)

Title: Re: Can TinyCore be self-hosting?
Post by: andyj on January 15, 2018, 05:41:01 PM
Nope. The Linux kernel requires bash and perl and bc and probably a few others busybox doesn't do.
Title: Re: Can TinyCore be self-hosting?
Post by: nick65go on January 16, 2018, 05:50:11 AM
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.."
Title: Re: Can TinyCore be self-hosting?
Post by: Juanito on January 16, 2018, 06:46:19 AM
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