-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add instructions to build for Windows on macOS #216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This is also how we can build Outline Client natively from macOS.
x/examples/fyne-tools/README.md
Outdated
From macOS, you can build the app for Windows with MinGW. | ||
|
||
First install MinGW: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, Mingw-w64 is a fork of the original mingw (a.k.a., mingw32) and is maintained by different devs.
From macOS, you can build the app for Windows with MinGW. | |
First install MinGW: | |
From macOS, you can build the app for Windows with Mingw-w64. | |
First install Mingw-w64: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
x/examples/fyne-tools/README.md
Outdated
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC="x86_64-w64-mingw32-gcc" go build . | ||
``` | ||
|
||
32-bit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking whether we should still put 32-bit build instructions here, are there any real world PCs that are still 32 bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. removed the 32-bit instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.