Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

hobby C compiler

Name: Anonymous 2016-07-14 18:57

I wrote a (subset of) C compiler as a hobby: http://github.com/bl0ckeduser/new-bpf-tools - it targets x86

It can compile itself, if you are on x86 Linux with 32-bit C libraries installed you can do

$ ./4build.sh

and it will compile itself to 4 levels of depth

Then you can build some test programs like this one

$ ./wcc4 -w test/x86/e.c -o e.elf
$ ./e.elf

which will print the constant e to 1000 places

Name: Anonymous 2016-07-15 16:38

>>3
Cudder. Review scc next.

http://git.suckless.org/scc

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List