logoalt Hacker News

tiffanyhtoday at 2:08 AM2 repliesview on HN

Does this mean long term Zig won’t run on OpenBSD?

Because doesn’t OpenBSD block direct syscalls & force everything to go through libc.

https://news.ycombinator.com/item?id=38039689


Replies

AndyKelleytoday at 2:21 AM

This affects static libc only. If you pass -dynamic -lc then the libc functions are provided by the target system. Some systems only support dynamic libc, such as macOS. I think OpenBSD actually does support static libc though.

show 1 reply