+netbsd support
This commit is contained in:
32
README.md
32
README.md
@@ -56,6 +56,8 @@ As of writing, pi supports basic message sending and receiving, replies, file up
|
||||
|
||||
To build pi, you will need the latest version of Go, at least 1.21. You can grab it [here](https://go.dev).
|
||||
|
||||
You must have a C compiler on your system also present. This will be the case for virtually all PC operating systems except Windows.
|
||||
|
||||
The build instructions are very simple. Simply clone the repo, fetch the repositories and build the program.
|
||||
|
||||
Here is a summary of the commands you would need to use:
|
||||
@@ -65,12 +67,34 @@ cd pi-im
|
||||
go mod tidy
|
||||
go build .
|
||||
./pi-im
|
||||
|
||||
```
|
||||
> Uh, Windows???
|
||||
|
||||
The commands above should be virtually identical, aside from changing `./pi-im` to `pi-im.exe`. If you compile it, it will most likely work with no issues:
|
||||
Windows requires more steps to setup, specifically you need an MSYS2 environment. As per [the Fyne documentation](https://docs.fyne.io/started/)
|
||||
|
||||
|
||||
The MSYS2 platform is the recommended approach for working on Windows. Proceed as follows:
|
||||
|
||||
Install MSYS2 from msys2.org
|
||||
Once installed do not use the MSYS terminal that opens
|
||||
Open “MSYS2 MinGW 64-bit” from the start menu
|
||||
|
||||
Execute the following commands (if asked for install options be sure to choose “all”):
|
||||
|
||||
$ pacman -Syu
|
||||
$ pacman -S git mingw-w64-x86_64-toolchain mingw-w64-x86_64-go
|
||||
|
||||
You will need to add ~/Go/bin to your $PATH, for MSYS2 you can paste the following command into your terminal:
|
||||
|
||||
$ echo "export PATH=\$PATH:~/Go/bin" >> ~/.bashrc
|
||||
|
||||
For the compiler to work on other terminals you will need to set up the windows %PATH% variable to find these tools. Go to the “Edit the system environment variables” control panel, tap “Advanced” and add “C:\msys64\mingw64\bin” to the Path list.
|
||||
|
||||
|
||||
<img alt="image" src="https://github.com/user-attachments/assets/5a6c188f-e890-4398-856c-e88f5804e9d2" />
|
||||
|
||||
Pi has been tested on FreeBSD and NetBSD with no issues. Please read their respective Wiki entries.
|
||||
|
||||
Static executable snapshots are also provided for GNU/Linux systems on every new version.
|
||||
|
||||
@@ -107,15 +131,13 @@ Pi has guaranteed support for the following operating systems:
|
||||
- Windows 10 and up
|
||||
- Most modern GNU/Linux installations
|
||||
- FreeBSD
|
||||
- NetBSD
|
||||
- MacOS
|
||||
|
||||
Pi has experimental support for the following operating system:
|
||||
- Android [1]
|
||||
|
||||
Pi has not been tested on, but has been built on, the following operating systems:
|
||||
- MacOS
|
||||
|
||||
Pi most likely does **not** have support for the following operating systems:
|
||||
- Other BSDs
|
||||
- 32-bit systems
|
||||
- iOS
|
||||
- ARM systems
|
||||
|
Reference in New Issue
Block a user