Skip to content
Haiku OSHow-To July 12, 2026 1 min readViews unavailable

How to Cross-Compile Haiku from a Linux Host

Create an out-of-tree build with the correct buildtools, target architecture, packages, image profile, and reproducibility notes.

Clone matching Haiku and buildtools sources from the official repositories. Install the host prerequisites listed for the target revision, create a separate generated directory, and run Haiku’s configure script with the documented cross-tools target architecture.

Build the cross tools first, then a minimal image target before a full release profile. Preserve configure output and source commits. On hosts without suitable extended attributes, use the supported attribute-emulation option rather than dropping Haiku resources silently.

Boot the resulting image in a VM, verify architecture and packages, and keep the build log. Commands evolve; copy them from the current official guide for the branch, not from an old forum post.

Sources: Building Haiku, Configure options