diff options
| author | Elis Eriksson <spelis@spelis.li> | 2026-06-19 21:39:16 +0200 |
|---|---|---|
| committer | Elis Eriksson <spelis@spelis.li> | 2026-06-19 21:39:16 +0200 |
| commit | cbdca328495a772716f14b1e95a7ab7d6450cc27 (patch) | |
| tree | 54b5c37a9a2d1b14e385e047980d7df99a56c331 /bfc.sh | |
| parent | 7ccae1c362a45b28f4fbf96da4f479730e4b382b (diff) | |
| download | bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar.gz bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar.bz2 bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar.lz bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar.xz bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.tar.zst bfc-cbdca328495a772716f14b1e95a7ab7d6450cc27.zip | |
Improve the shit
No longer turing complete
No longer depends on libc (good thing)
Codegen is now unreadable (because i want it to be)
Remove a couple of unnecessary includes
Output C code to out.c when compiling
Why the fuck are you reading this?
Diffstat (limited to 'bfc.sh')
| -rwxr-xr-x | bfc.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,4 +21,7 @@ fi # compile pipeline OUT=$(cat "$SRC" | "$BFC") -echo "$OUT" | gcc -o ./bf.out -x c - +LDFLAGS="-Os -march=native -mtune=native -flto -fuse-linker-plugin -DNDEBUG -fomit-frame-pointer -nostdlib -nostartfiles -no-pie -fno-stack-protector" + +echo "$OUT" > out.c +echo "$OUT" | gcc $LDFLAGS -o ./bf.out -x c - |
