forked from mirror/go-sqlite3
Document requirements for cross compiling from OSX (#804)
* Document requirements for cross compiling from OSX Inspiration: https://github.com/mattn/go-sqlite3/issues/384#issuecomment-433584967 * Document cross compilation steps using xgo for MACOSX
This commit is contained in:
parent
db4c9426f8
commit
e77f7dd61e
12
README.md
12
README.md
|
@ -212,9 +212,15 @@ This library can be cross-compiled.
|
||||||
|
|
||||||
In some cases you are required to the `CC` environment variable with the cross compiler.
|
In some cases you are required to the `CC` environment variable with the cross compiler.
|
||||||
|
|
||||||
Additional information:
|
## Cross Compiling from MAC OSX
|
||||||
- [#491](https://github.com/mattn/go-sqlite3/issues/491)
|
The simplest way to cross compile from OSX is to use [xgo](https://github.com/karalabe/xgo).
|
||||||
- [#560](https://github.com/mattn/go-sqlite3/issues/560)
|
|
||||||
|
Steps:
|
||||||
|
- Install [xgo](https://github.com/karalabe/xgo) (`go get github.com/karalabe/xgo`).
|
||||||
|
- Ensure that your project is within your `GOPATH`.
|
||||||
|
- Run `xgo local/path/to/project`.
|
||||||
|
|
||||||
|
Please refer to the project's [README](https://github.com/karalabe/xgo/blob/master/README.md) for further information.
|
||||||
|
|
||||||
# Google Cloud Platform
|
# Google Cloud Platform
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue