1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
.Dd $Mdocdate: October 11 2024 $
.Dt HAREC 1
.Os
.Sh NAME
.Nm harec
.Nd Hare compiler for POSIX-compatible systems
.Sh SYNOPSIS
.Nm
.Op Fl h
.Op Fl a Ar arch
.Op Fl D Ar constant
.Op Fl M Ar path
.Op Fl m Ar symbol
.Op Fl N Ar namespace
.Op Fl o Ar output
.Op Fl T
.Op Fl t Ar typedefs
.Op Fl v
.Pa input.ha
.Sh DESCRIPTION
The options are as follows:
.Bl -tag -width Ds
.It Fl h
Prints the help message and exits.
.It Fl a Ar arch
Set target architecture.
.It Fl D Ar constant
Define a constant.
.It Fl M Ar path
Set module path prefix, to be stripped from error messages.
.It Fl m Ar symbol
Set symbol of hosted main function.
.It Fl N Ar namespace
Override namespace for module.
.It Fl o Ar output
Set output file name.
.It Fl T
Emit tests.
.It Fl t Ar typedefs
Emit typedefs to file.
.It Fl v
Print version and exit.
.El
|