Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
Add choco's mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
HACKERALERT authored Mar 19, 2022
1 parent 9aca627 commit 9e396d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apt install -y gcc libgtk-3-dev libglu1-mesa xclip xorg-dev
xcode-select --install
brew install glfw glew
```
**Windows:** A C compiler, ideally [TDM-GCC](https://jmeubank.github.io/tdm-gcc/)
**Windows:** A C compiler, ideally `choco install mingw`, but [TDM-GCC](https://jmeubank.github.io/tdm-gcc/) works too.

# 2. Install the Go Programming Language
If you don't have Go installed, download the corresponding installer for Go from <a href="https://golang.org/dl">here</a>, or from your package manager (`apt install golang-go`). The latest version of Go is recommended.
Expand All @@ -21,9 +21,9 @@ Download the source files as a zip from the homepage or `git clone` this reposit

# 4. Build From Source
Finally, build Picocrypt from source:
- Windows: <code>go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go</code>
- macOS: <code>go build -ldflags "-s -w" Picocrypt.go</code>
- Linux: <code>go build -ldflags "-s -w" Picocrypt.go</code>
- Windows: <code>go build -ldflags="-s -w -H=windowsgui -extldflags=-static" Picocrypt.go</code>
- macOS: <code>go build -ldflags="-s -w" Picocrypt.go</code>
- Linux: <code>go build -ldflags="-s -w" Picocrypt.go</code>

# 5. Done!
You should now see a compiled executable (`Picocrypt.exe`/`Picocrypt`) in your directory. You can run it by double-clicking or executing it in your terminal. That wasn't too hard, right? Enjoy!

0 comments on commit 9e396d3

Please sign in to comment.