Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile? #1

Open
SachaTending opened this issue Oct 5, 2020 · 1 comment
Open

How to compile? #1

SachaTending opened this issue Oct 5, 2020 · 1 comment

Comments

@SachaTending
Copy link

How to compile?

@dagelf
Copy link

dagelf commented Nov 28, 2021

$ 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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants