Skip to content

Commit

Permalink
docs: improving build step
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano authored Jul 21, 2023
1 parent ab31c02 commit 65b24b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,18 @@ To build **gbc** in your machine, you can follow the next steps:
```powershell
go mod download
```
or
```powershell
go mod tidy
```
5. Then build the project:
```powershell
go build -o bin/gbc main.go
```
If you get [`GLIBC not found`](https://github.com/AllanCapistrano/gbc/issues/13) error, try:
```powershell
CGO_ENABLED=0 go build -o bin/gbc main.go
```
To use the settings file:
1. Create the **gbc** config directory:
```powershell
Expand Down

0 comments on commit 65b24b7

Please sign in to comment.