Windows as a RTEMS dev environment

zhengxiaojun jameszxj at gmail.com
Fri Apr 15 13:57:46 UTC 2022


Hi,

>ok, https://devel.rtems.org/ticket/4547
>

Mingw64 has a pre-compiled dtc package, you can bypass the compilation.

>Bit of a mess. Lets try again with Ubuntu, after that AIX !
>
>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 "
>> -I/c/Users/MatthewFletcher/play/src/rsb/rtems/build/tmp/sb-197609/6s/c/Users/MatthewFletcher/play/rtems/6/include
>> ' "
>>
>>
>> On Fri, 15 Apr 2022 at 12:29, Matthew J Fletcher <amimjf at gmail.com> 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
>>>
>>>
>>
>> --
>>
>> regards
>> ---
>> Matthew J Fletcher
>>
>>
>
>-- 
>
>regards
>---
>Matthew J Fletcher
>_______________________________________________
>users mailing list
>users at rtems.org
>http://lists.rtems.org/mailman/listinfo/users</amimjf@gmail.com></amimjf at gmail.com>


More information about the users mailing list