Windows as a RTEMS dev environment

Matthew J Fletcher amimjf at
Fri Apr 15 12:14:11 UTC 2022

As an update with Mingw64 i had to manually create x86_64-w64-mingw32-g++
and x86_64-w64-mingw32-gcc (just copy & paste of g++ and gcc), now it can
find all the tools, no idea how the tools RSB is looking for would be

Oddly even with Mingw64 the "convert-dtsv0-lexer.l:27:10: fatal error:
fnmatch.h: No such file or directory" issue is still there, and its not
actually present,.. will probably just end up install all of Mingw

Looking at the RSB logs, it looks like the include paths generated are
pretty messed up "
' "

On Fri, 15 Apr 2022 at 12:29, Matthew J Fletcher <amimjf at> wrote:

> Hi,
> To make Joel happy with a patch i've been trying to setup a Windows VM as
> a build environment, the process seems to have a few issues.
> 1) If your username/profile has a space in it the scripts dont all
> encapsulate with quotes so break in various ways. Ok, so, created a new
> user to get around that.
> 2) Getting a native build environment msys2, mingw64, etc setup seems
> pretty random. Tried mingw64 first but makeinfo and some other tools not
> available, ok, so moved to msys2. Dependency checks now pass but rsb
> builder fails on first package DTC.
> convert-dtsv0-lexer.l:27:10: fatal error: fnmatch.h: No such file or
> directory
> Its clearly present at C:\msys64\usr\include\fnmatch.h
> RSB looks to have issues, not surprising given the million possible
> windows setups.
> Does anyone have a known working setup on Windows ?
> regards
> ---
> Matthew J Fletcher


Matthew J Fletcher

More information about the users mailing list