On Fri, Apr 15, 2022 at 1:21 PM zhengxiaojun <james...@gmail.com> wrote:

> Hi,
>
> &gt;ok, https://devel.rtems.org/ticket/4547
> &gt;
>
> Mingw64 has a pre-compiled dtc package, you can bypass the compilation.
>

That's good to know. That means we have two possible solutions:

(1) Disable dtc in RSB for mingw64. Possible downside on version
incompatibility

(2) Figure out what they did to build it and mirror that patch into the RSB
recipe.
https://packages.msys2.org/package/dtc?repo=msys&variant=x86_64 appears to
be
the package so perhaps the answer is in there.

An easy workaround is to comment out dtc in rtems-default.bset and load the
mingw package.

Thanks for the info.

--joel


> &gt;Bit of a mess. Lets try again with Ubuntu, after that AIX !
> &gt;
> &gt;On Fri, 15 Apr 2022 at 13:14, Matthew J Fletcher <ami...@gmail.com>
> wrote:
> &gt;
> &gt;&gt; As an update with Mingw64 i had to manually create
> x86_64-w64-mingw32-g++
> &gt;&gt; and x86_64-w64-mingw32-gcc (just copy &amp; paste of g++ and
> gcc), now it can
> &gt;&gt; find all the tools, no idea how the tools RSB is looking for
> would be
> &gt;&gt; created.
> &gt;&gt;
> &gt;&gt; Oddly even with Mingw64 the "convert-dtsv0-lexer.l:27:10: fatal
> error:
> &gt;&gt; fnmatch.h: No such file or directory" issue is still there, and
> its not
> &gt;&gt; actually present,.. will probably just end up install all of Mingw
> &gt;&gt;
> &gt;&gt; Looking at the RSB logs, it looks like the include paths
> generated are
> &gt;&gt; pretty messed up "
> &gt;&gt;
> -I/c/Users/MatthewFletcher/play/src/rsb/rtems/build/tmp/sb-197609/6s/c/Users/MatthewFletcher/play/rtems/6/include
> &gt;&gt; ' "
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; On Fri, 15 Apr 2022 at 12:29, Matthew J Fletcher <
> ami...@gmail.com> wrote:
> &gt;&gt;
> &gt;&gt;&gt; Hi,
> &gt;&gt;&gt;
> &gt;&gt;&gt; To make Joel happy with a patch i've been trying to setup a
> Windows VM as
> &gt;&gt;&gt; a build environment, the process seems to have a few issues.
> &gt;&gt;&gt;
> &gt;&gt;&gt; 1) If your username/profile has a space in it the scripts
> dont all
> &gt;&gt;&gt; encapsulate with quotes so break in various ways. Ok, so,
> created a new
> &gt;&gt;&gt; user to get around that.
> &gt;&gt;&gt;
> &gt;&gt;&gt; 2) Getting a native build environment msys2, mingw64, etc
> setup seems
> &gt;&gt;&gt; pretty random. Tried mingw64 first but makeinfo and some
> other tools not
> &gt;&gt;&gt; available, ok, so moved to msys2. Dependency checks now pass
> but rsb
> &gt;&gt;&gt; builder fails on first package DTC.
> &gt;&gt;&gt;
> &gt;&gt;&gt; convert-dtsv0-lexer.l:27:10: fatal error: fnmatch.h: No such
> file or
> &gt;&gt;&gt; directory
> &gt;&gt;&gt; Its clearly present at C:\msys64\usr\include\fnmatch.h
> &gt;&gt;&gt;
> &gt;&gt;&gt; RSB looks to have issues, not surprising given the million
> possible
> &gt;&gt;&gt; windows setups.
> &gt;&gt;&gt;
> &gt;&gt;&gt; Does anyone have a known working setup on Windows ?
> &gt;&gt;&gt;
> &gt;&gt;&gt;
> &gt;&gt;&gt; regards
> &gt;&gt;&gt; ---
> &gt;&gt;&gt; Matthew J Fletcher
> &gt;&gt;&gt;
> &gt;&gt;&gt;
> &gt;&gt;
> &gt;&gt; --
> &gt;&gt;
> &gt;&gt; regards
> &gt;&gt; ---
> &gt;&gt; Matthew J Fletcher
> &gt;&gt;
> &gt;&gt;
> &gt;
> &gt;--
> &gt;
> &gt;regards
> &gt;---
> &gt;Matthew J Fletcher
> &gt;_______________________________________________
> &gt;users mailing list
> &gt;users@rtems.org
> &gt;http://lists.rtems.org/mailman/listinfo/users</ami...@gmail.com></
> ami...@gmail.com>
> _______________________________________________
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to