pull in windows build notes from pr 67
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2022-06-22 11:51:04 -07:00
parent 07b496fc48
commit 46b34f0a60
2 changed files with 10 additions and 3 deletions

View File

@ -164,8 +164,8 @@ steps:
- make libCwtch.x64.dylib
- name: build-macos-arm64
when:
#event:
# - push
event:
- push
status: [ success ]
commands:
- export PATH=$PATH:/usr/local/go/bin/

View File

@ -6,6 +6,7 @@ C-bindings for the Go Cwtch Library.
make linux
make android
make windows
make macos
## Android Build Notes
@ -16,6 +17,12 @@ Go 1.17.4, NDK 22.1.7171670, and gomobile 4e6c2922fdeed32d3596616518aaee7b0d79ce
Other version combinations untested and some definitely do not work.
## Windows
Cwtch relies on sqlite which in turn requires the use of CGO. As per [this issue](https://github.com/golang/go/issues/12029)
that means [TDM-GCC](https://jmeubank.github.io/tdm-gcc/download/) is required to be installed and used to compile on Windows.
Install it and add it to your path and `make windows` should then work.
## Experimental iOS support
make ios
@ -43,4 +50,4 @@ written to `stdout` when `DebugInfo()` is called.
## MacOS
- copy libCwtch.dylib into the directory you are executing from
- copy libCwtch.x64.dylib and libCwtch.arm.dylib into the directory you are executing from