tccboot icon indicating copy to clipboard operation
tccboot copied to clipboard

How to compile?

Open SachaTending opened this issue 4 years ago • 1 comments

How to compile?

SachaTending avatar Oct 05 '20 15:10 SachaTending

$ 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 

dagelf avatar Nov 28 '21 12:11 dagelf