-
Notifications
You must be signed in to change notification settings - Fork 695
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
Update to support MSYS2/GCC #875
Conversation
Wondering if we should change |
…C-style struct packing
Fix missing timezone struct declaration.
MSVC needed a small tweak to headers to make it build happily with Visual Studio 17 2022. Developer Command Prompt for VS 2022
cmd.exe
Build succeeds for both and I can run the simple_test.exe successfully on a hardware target: GNUC Simple Test:
MSVC Simple Test:
@ArthurKetels Any concerns on merging this to support cross-tool building on windows? The change should not interfere with existing project, I kept it as minimal as possible to get MSYS/GNUC working. |
2752dc2
into
OpenEtherCATsociety:master
Thanks for the work and testing. Looks good. |
Adding build support for MSYS2/GCC and cleaning up some various build errors.
It now builds properly on MSYS2/GCC using cmake generators "MSYS Makefiles" and "Ninja".
I didn't get a chance to build it again with MSVC, so should probably do that before merging.