提交 a8bcecef 作者: Steven Allen

doc(README): expand the build documentation

fixes #6704
上级 01b357a9
......@@ -149,6 +149,14 @@ PS> scoop install go-ipfs
### Build from Source
go-ipfs's build system requires Go 1.12 and some standard POSIX build tools:
* GNU make
* Git
* GCC (or some other go compatible C Compiler) (optional)
To build without GCC, build with `CGO_ENABLED=0` (e.g., `make build CGO_ENABLED=0`).
#### Install Go
The build process for ipfs requires Go 1.12 or higher. If you don't have it: [Download Go 1.12+](https://golang.org/dl/).
......@@ -171,6 +179,8 @@ $ cd go-ipfs
$ make install
```
Alternatively, you can run `make build` to build the go-ipfs binary (storing it in `cmd/ipfs/ipfs`) without installing it.
#### Troubleshooting
- Separate [instructions are available for building on Windows](docs/windows.md).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论