Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added build instructions #24

Merged
merged 1 commit into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Build Instructions

## Install Chocolatey <https://chocolatey.org/install>

- put this in an elevated "admin" powershell

```powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
```

- close the powershell
- open an elevated "admin" powershell or cmd

```powershell
choco install go
choco install mingw
```

## Test go / gcc

- close the powershell
- open a non elevated powershell or cmd

```cmd
C:\>go version
go version go1.22.2 windows/amd64

C:\>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

## Build

- open a non elevated powershell or cmd

GUI version

```cmd
build.bat
```

CLI version

```cmd
build_cli.bat
```