RTEMS Tools | Fix windows build with MSYS2 (!30)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Oct 9 22:32:29 UTC 2024
Gedare Bloom created a merge request: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/30
Project:Branches: gedare/rtems-tools:fix_windows to rtems/tools/rtems-tools:main
Author: Gedare Bloom
## Summary
Building `rtems-tools` on MSYS2 was broken in a few ways. The `wscript` uses redirection of `stdout` which did not work directly as written. Also, msys2/mingw64 does not provide definitions for `gid_t` and `uid_t` which leads to compile errors in `libelf`.
I have fixed these issues although I'm open to suggestions if there is a better way to deal with the missing typedefs rather than what I did with a custom `sys/types.h` imported into the `rtemstoolkit` includes for MSYS2 builds.
I did not find any open Issue numbers for these problems.
Someone needs to confirm that Cygwin build still works with this MR.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/30
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241009/3556626c/attachment-0001.htm>
More information about the bugs
mailing list