Skip to content
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

Support using mingw/msys to build xmake on windows #681

Closed
waruqi opened this issue Feb 9, 2020 · 1 comment
Closed

Support using mingw/msys to build xmake on windows #681

waruqi opened this issue Feb 9, 2020 · 1 comment

Comments

@waruqi
Copy link
Member

waruqi commented Feb 9, 2020

see msys2/MINGW-packages#6169

@waruqi waruqi added this to the v2.3.0 milestone Feb 9, 2020
@waruqi
Copy link
Member Author

waruqi commented Feb 16, 2020

I have supported compiling xmake on msys/mingw and it worked very well. But we must use mingw-w64-[i686|x86_64]-gcc to compile xmake.

$ pacman -S mingw-w64-x86_64-gcc
$ which gcc
/mingw64/bin/gcc
$ cd xmake
$ make build
$ make install prefix=/mingw64

Or

$ pacman -S mingw-w64-i686-gcc
$ which gcc
/mingw32/bin/gcc
$ cd xmake
$ make build
$ make install prefix=/mingw32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant