mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-13 22:47:26 +01:00
Fixed alias tip, i had forgotten to add "export" to a few of the env vars
parent
c9176945e3
commit
92a4d7f050
@ -27,7 +27,7 @@ Since that's quite a messy command to use each time you want to test your progra
|
|||||||
* add the below line to the bottom of the file:
|
* add the below line to the bottom of the file:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
alias LinuxtoWindows="export CXX=x86_64-w64-mingw32-g++ && export CC=x86_64-w64-mingw32-gcc && CGO_ENABLED=1 && GOOS=windows"
|
alias LinuxtoWindows="export CXX=x86_64-w64-mingw32-g++ && export CC=x86_64-w64-mingw32-gcc && export CGO_ENABLED=1 && export GOOS=windows"
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you may simply use `LinuxToWindows && go build file.go` to cross compile.
|
Now you may simply use `LinuxToWindows && go build file.go` to cross compile.
|
Loading…
Reference in New Issue
Block a user