zig icon indicating copy to clipboard operation
zig copied to clipboard

Tier System: `x86_64-haiku`

Open vazub opened this issue 5 years ago • 2 comments

Would be great to add proper support for this OS - https://www.haiku-os.org/

Headers: https://github.com/haiku/haiku/tree/master/headers


The current goal is Tier 3. Once Zig reaches Tier 3 this issue will get renamed to Tier 2, and so on.

vazub avatar Jan 05 '21 09:01 vazub

There appears to be WIP for this in #7546

vazub avatar Jan 12 '21 19:01 vazub

tips for anyone looking into this currently:

  • run nightly (new malloc is needed)
  • ~~build your own LLVM -- checkout haikuports and remove this line and this patch~~ no longer needed for LLVM20, fixed in haikuports

ypsvlq avatar May 31 '25 01:05 ypsvlq

State of affairs after the std.Io merge:

  • libroot doesn't expose preadv/pwritev, but has the equivalent readv_pos/writev_pos. See #25739.
  • SIGIO is not available so some other signal needs to be used.

The-King-of-Toasters avatar Oct 31 '25 07:10 The-King-of-Toasters