hare-build(1) General Commands Manual hare-build(1) (NAME) hare build - Hare (SYNOPSIS) hare build [-hFqv] [-a arch] [-D ident[:type]=value] [-j jobs] [-L libdir] [-l libname] [-N namespace] [-o path] [-R] [-T tagset] [-t type] [path] (DESCRIPTION) hare build Hare . path Hare Hare ( hare-module(5)). Hare . (OPTIONS) -h . -F ( / non-hosted) . (FREESTANDING ENVIRONMENT) . -q stdout . -v (verbose) . . -a arch (cross-compiling) . (ARCHITECTURES) . -D ident[:type]=value (type system) . ident Hare ( "foo::bar::baz") type Hare ( "str" "struct { x: int, y: int }") value Hare ( "42") . Hare (escaping) . -j jobs . . -L libdir (linker) . -l libname (link) . . libc(7) +libc ( BUILD TAGS hare- module(5) ). -N namespace (namespace) (override) . -o path . - stdout . -R (release mode). () ::debug . . -T tagset (build tags). BUILD TAGS hare- module(5) . -t type . type s o bin (compiled object) . . (ARCHITECTURES) -a . : o aarch64 o riscv64 o x86_64 AR AS LD CC . (cross toolchain) . (FREESTANDING ENVIRONMENT) -F hare build (freestanding) . : o "main" o -l : o libc ( -lc ) o +libc ( -T+libc ) o C ( LD=cc ) (ENVIRONMENT) hare build : HARECACHE (cache) . $XDG_CACHE_HOME/hare $XDG_CACHE_HOME ~/.cache/hare . HAREPATH . hare-module(5) . NO_COLOR . HAREC_COLOR 0 harec . NO_COLOR . HAREC harec . HARECFLAGS harec. QBE qbe . QBEFLAGS qbe. AR ar(1) . ARFLAGS ar(1). AS as(1) . ASFLAGS as(1). LD ld(1) . LDLINKFLAGS ld(1). CC cc(1) . LDFLAGS cc(1). (SEE ALSO) hare-run(1), hare-test(1), hare-module(5), ar(1), as(1), cc(1), ld(1) 2026-06-01 hare-build(1)