News for hackers. Stuff that matters.
Re:Tiniest x86-64-Linux emulator by yjftsjthsd-h on Saturday November 19, 2022 @08:09PM (#33676981)
That's beautifully worked.

    o//blink/blink
What's the double slash for?
Re:Tiniest x86-64-Linux emulator by paulclinger on Saturday November 19, 2022 @08:43PM (#33677190)
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.
Re:Tiniest x86-64-Linux emulator by yjftsjthsd-h on Saturday November 19, 2022 @09:02PM (#33677320)
I'm not following. Is

    o//blink/blink
different from

    o/blink/blink

?
Re:Tiniest x86-64-Linux emulator by mdhowle on Saturday November 19, 2022 @10:49PM (#33678025)
The MODE variable in the Makefile is undefined by default so "o/$(MODE)/" becomes "o//"
Re:Tiniest x86-64-Linux emulator by harrisi on Sunday November 20, 2022 @12:27AM (#33678573)
There are specific comments already, but multiple successive slashes are treated as a single slash, in every case except when a path begins with exactly two slashes, in which case it's implementation dependent.

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...