Windows as a RTEMS dev environment
joel at rtems.org
Fri Apr 15 17:35:13 UTC 2022
On Fri, Apr 15, 2022 at 7:38 AM Matthew J Fletcher <amimjf at gmail.com> wrote:
> ok, https://devel.rtems.org/ticket/4547
dtc on windows is clearly not cared about by the Linux focused people who
developed and maintain it. For RTEMS, the best solution might be to disable
building it on msys/mingw. I think I had Ryan comment it out by hand the
last time he did a test build on msys/mingw. If you google this, you will
others not using RTEMS with similar issues.
Spaces in users names. I'll add that to the spaces in paths on the warnings
slide for the RTEMS Class. There are lots of things which can bite you which
are obvious in hindsight.
One of the most insidious is having a variable like LIB which is used in
build environments be set for MSVC. That will break a build pretty
> Bit of a mess. Lets try again with Ubuntu, after that AIX !
Ubuntu will likely just be getting the required host packages installed.
AIX would be interesting. It still boils down to getting the required host
packages but there might be a wrinkle on that host. :)
> On Fri, 15 Apr 2022 at 13:14, Matthew J Fletcher <amimjf at gmail.com> wrote:
> > 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
> > created.
> > 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 gmail.com>
> >> Hi,
> >> To make Joel happy with a patch i've been trying to setup a Windows VM
> >> 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
> > --
> > regards
> > ---
> > Matthew J Fletcher
> Matthew J Fletcher
> users mailing list
> users at rtems.org
More information about the users