WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline PDP-8

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

That's a UNIX book! - cool  -- Garth

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Can TinyCore be self-hosting?
« Reply #1 on: January 15, 2018, 08:41:01 PM »
Nope. The Linux kernel requires bash and perl and bc and probably a few others busybox doesn't do.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
Re: Can TinyCore be self-hosting?
« Reply #2 on: January 16, 2018, 08: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: 14791
Re: Can TinyCore be self-hosting?
« Reply #3 on: January 16, 2018, 09: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