4 ms·
That's beautifully worked. o//blink/blink What's the double slash for?
by yjftsjthsd-h 4y ago
That's beautifully worked.
o//blink/blink
What's the double slash for?
- paulclinger 4y agoYou 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 https://redbean.dev/#source.
- yjftsjthsd-h 4y agoI'm not following. Is o//blink/blink different from o/blink/blink ?
- mdhowle 4y agoThe MODE variable in the Makefile is undefined by default so "o/$(MODE)/" becomes "o//"
- harrisi 4y agoThere 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_chap03.html#tag_03_271 https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...