diff options
Diffstat (limited to 'docs/content/installation/from-source.en-us.md')
-rw-r--r-- | docs/content/installation/from-source.en-us.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/installation/from-source.en-us.md b/docs/content/installation/from-source.en-us.md index f6a95e8d0c..601e074745 100644 --- a/docs/content/installation/from-source.en-us.md +++ b/docs/content/installation/from-source.en-us.md @@ -17,7 +17,7 @@ menu: # Installation from source -You should [install go](https://golang.org/doc/install) and set up your go +You should [install go](https://go.dev/doc/install) and set up your go environment correctly. In particular, it is recommended to set the `$GOPATH` environment variable and to add the go bin directory or directories `${GOPATH//://bin:}/bin` to the `$PATH`. See the Go wiki entry for @@ -82,7 +82,7 @@ git checkout v@version@ # or git checkout pr-xyz To build from source, the following programs must be present on the system: -- `go` @minGoVersion@ or higher, see [here](https://golang.org/dl/) +- `go` @minGoVersion@ or higher, see [here](https://go.dev/dl/) - `node` @minNodeVersion@ or higher with `npm`, see [here](https://nodejs.org/en/download/) - `make`, see [here](development/hacking-on-gitea.md#installing-make) @@ -119,7 +119,7 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build The `build` target is split into two sub-targets: -- `make backend` which requires [Go @minGoVersion@](https://golang.org/dl/) or greater. +- `make backend` which requires [Go @minGoVersion@](https://go.dev/dl/) or greater. - `make frontend` which requires [Node.js @minNodeVersion@](https://nodejs.org/en/download/) or greater. If pre-built frontend files are present it is possible to only build the backend: @@ -165,7 +165,7 @@ Running `gitea help` will allow you to review what the computed settings will be ## Cross Build -The `go` compiler toolchain supports cross-compiling to different architecture targets that are supported by the toolchain. See [`GOOS` and `GOARCH` environment variable](https://golang.org/doc/install/source#environment) for the list of supported targets. Cross compilation is helpful if you want to build Gitea for less-powerful systems (such as Raspberry Pi). +The `go` compiler toolchain supports cross-compiling to different architecture targets that are supported by the toolchain. See [`GOOS` and `GOARCH` environment variable](https://go.dev/doc/install/source#environment) for the list of supported targets. Cross compilation is helpful if you want to build Gitea for less-powerful systems (such as Raspberry Pi). To cross build Gitea with build tags (`TAGS`), you also need a C cross compiler which targets the same architecture as selected by the `GOOS` and `GOARCH` variables. For example, to cross build for Linux ARM64 (`GOOS=linux` and `GOARCH=arm64`), you need the `aarch64-unknown-linux-gnu-gcc` cross compiler. This is required because Gitea build tags uses `cgo`'s foreign-function interface (FFI). |