mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
don't need fstage1
This commit is contained in:
@ -75,16 +75,12 @@ on the [Zig downloads page](https://ziglang.org/download/).
|
|||||||
With Zig installed, a binary can be built using `zig build`:
|
With Zig installed, a binary can be built using `zig build`:
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ zig build -fstage1
|
$ zig build
|
||||||
...
|
...
|
||||||
|
|
||||||
$ zig-out/bin/ghostty
|
$ zig-out/bin/ghostty
|
||||||
```
|
```
|
||||||
|
|
||||||
**Important: you must specify the `-fstage1` flag.** Ghostty can't yet be
|
|
||||||
built with the self-hosted Zig backend, so we have to use "stage1" (the
|
|
||||||
C++ LLVM backend).
|
|
||||||
|
|
||||||
This will build a binary for the currently running system (if supported).
|
This will build a binary for the currently running system (if supported).
|
||||||
You can cross compile by setting `-Dtarget=<target-triple>`. For example,
|
You can cross compile by setting `-Dtarget=<target-triple>`. For example,
|
||||||
`zig build -Dtarget=aarch64-macos` will build for Apple Silicon macOS. Note
|
`zig build -Dtarget=aarch64-macos` will build for Apple Silicon macOS. Note
|
||||||
|
Reference in New Issue
Block a user