WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can TinyCore be self-hosting?  (Read 628 times)

Offline PDP-8

  • Sr. Member
  • ****
  • Posts: 254
Can TinyCore be self-hosting?
« 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. :)

cat -v Considered Harmful  -- Rob Pike

Offline andyj

  • Hero Member
  • *****
  • Posts: 611
Re: Can TinyCore be self-hosting?
« Reply #1 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.

Offline nick65go

  • Full Member
  • ***
  • Posts: 157
Re: Can TinyCore be self-hosting?
« Reply #2 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.."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10109
Re: Can TinyCore be self-hosting?
« Reply #3 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