Tiniest x86-64-Linux emulator
github.com
Tiniest x86-64-Linux emulator
1–10 of 27 posts
Re: Tiniest x86-64-Linux emulator
#2Re: Tiniest x86-64-Linux emulator
#3Re: Tiniest x86-64-Linux emulator
#4 o//blink/blink
What's the double slash for?Re: Tiniest x86-64-Linux emulator
#5That's beautifully worked. o//blink/blink What's the double slash for?
Re: Tiniest x86-64-Linux emulator
#6man, jart's projects make me feel that 1/10x engineer
Re: Tiniest x86-64-Linux emulator
#7Re: Tiniest x86-64-Linux emulator
#8That's beautifully worked. o//blink/blink What's the double slash for?
You can use it to configure the build mode: `build/bootstrap/make.com -j8 MODE=rel o/rel/blink/blink`; no MODE will build a default config. This is used across all cosmopolitan projects; for example, this is for redbean: https://redbean.dev/#source .
o//blink/blink
different from o/blink/blink
?Re: Tiniest x86-64-Linux emulator
#9> The above command fixes GCC so it outputs portable binaries that will run on every Linux distro in addition to Mac OS X, Windows NT, FreeBSD, OpenBSD, and NetBSD too. Your program will also boot on bare metal too. In other words, you've written a normal textbook C program, and thanks to Cosmopolitan's low-level linker magic, you've effectively created your own operating system which happens to run on all the existing ones as well.
Brought up recently here: "Debugging C with Cosmopolitan Libc" [1]
And introduced here "Cosmopolitan Libc: build-once run-anywhere C library" [2]
[0] https://justine.lol/cosmopolitan/index.html
Re: Tiniest x86-64-Linux emulator
#10man, jart's projects make me feel that 1/10x engineer