update cross compile docs

This commit is contained in:
vcaesar 2018-08-05 07:40:06 -04:00
parent 4d8b9903c4
commit 81e5d32577
2 changed files with 8 additions and 0 deletions

View File

@ -273,6 +273,10 @@ go build main.go
```Go
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -x ./
```
```
// CC=mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\bin\gcc.exe
// CXX=mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\bin\g++.exe
```
## Plans
- Update Find an image on screen, read pixels from an image

View File

@ -269,6 +269,10 @@ go build main.go
```Go
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -x ./
```
```
// CC=mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\bin\gcc.exe
// CXX=mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\bin\g++.exe
```
## Plans
- 更新 Find an image on screen, read pixels from an image