tccboot
tccboot copied to clipboard
How to compile?
How to compile?
$ git clone https://github.com/seyko2/tccboot --depth=1
$ cd tccboot
$ docker run --rm -ti -v `pwd`:/root debian:9
$ dpkg --add-architecture i386; apt update; apt install -y make tcc:i386
$ cd /root
$ i386 bash
$ ./01-PREPARE.sh tcc
$ ./02-COMPILE.sh
...If it doesn't work, try other debian versions from docker, or centos. For centos use yum and google for package archives.
But I think the point of this was to do https://bellard.org/tcc/tccboot.html, ie:
$ wget https://bellard.org/tcc/tccboot.iso
$ sudo qemu-system-x86_64 -accel kvm -cdrom tccboot.iso