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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Cross-compile for Windows (mingw-w64) #2

Open
coalio opened this issue Nov 2, 2021 · 1 comment
Open

馃殌 Cross-compile for Windows (mingw-w64) #2

coalio opened this issue Nov 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@coalio
Copy link
Owner

coalio commented Nov 2, 2021

Useful information

As of now, this utility can only be used in Linux due to the usage of functions that perform Linux system calls such as mkdir. The umask is also defined at the first line of the int main() function. [main.cpp:19]

I believe this utility would be useful for Windows developers that don't want to use WSL (or are running older Windows releases such as 7). The integration should not be complicated at all. However, some time must be spent in order to do this.

As a requirement, the CMake specification must also allow to cross-compile for Win32 from Linux using the mingw-w64 toolchain.

@coalio coalio added the enhancement New feature or request label Nov 2, 2021
@coalio
Copy link
Owner Author

coalio commented Jul 1, 2022

Since I wrote this issue, several enhancements were made to the source code and now we're not using either mkdir or umask at all.

However, adding a CMake target for cross-compiling is still a pending task. The issue name will be modified to reflect the actual issue now.

@coalio coalio changed the title 馃殌 Add support for Windows 馃殌 Cross-compile for Windows (mingw-w64) Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant