<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Oct 30, 2017 1:33 PM, "Brendan McNally" <<a href="mailto:brendan@xia.com">brendan@xia.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Chris - <div><br></div><div>Thank you! The path length was indeed the issue, and building from 'E:\dev\rtems' worked as advertisied.</div><div><br></div><div>And thank you for directing me to the user manual documentation. I had inadvertently started my journey using a different documentation set; the RTEMS Source builder docs (<a href="https://docs.rtems.org/branches/master/rsb/index.html" target="_blank">https://docs.rtems.org/<wbr>branches/master/rsb/index.html</a><wbr>).</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Glad you got it built.</div><div dir="auto"><br></div><div dir="auto">Chris... Does it make sense to check for a starting path on Windows that is too long? This is such an easy situation to trip across and it seems to fail in mysterious ways.</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks again!</div><font color="#888888"><div dir="ltr"><div>Brendan</div></div></font><div class="elided-text"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 26, 2017 at 7:16 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27/10/2017 04:21, Brendan McNally wrote:<br>
> Hello -<br>
><br>
> Noob here, attempting to build RTEMS tools using the Source Builder for the ARM<br>
> architecture.<br>
<br>
Welcome.<br>
<br>
> I'm hoping someone can steer me straight.<br>
<br>
It is looking pretty good.<br>
<br>
> Here's the rundown:<br>
><br>
> Host:<br>
> Win10pro x64, using MSYS2 (20161025).<br>
><br>
> sb-check identified some early problems with my python installation. I had<br>
> originally installed Python 3.6.3 for windows from <a href="http://python.org" rel="noreferrer" target="_blank">python.org</a><br>
> <<a href="http://python.org" rel="noreferrer" target="_blank">http://python.org</a>>, then -- when that was unsuccessful (complained about<br>
> .startswith() args) -- rolled back to 2.7.14, also from <a href="http://python.org" rel="noreferrer" target="_blank">python.org</a><br>
> <<a href="http://python.org" rel="noreferrer" target="_blank">http://python.org</a>>. This was also unsuccessful; sb-check reported issues with<br>
> host config. Uninstalled both of these, and installed mingw64/python2 from<br>
> msys2, per comments in source-builder/sb/windows.py, and that allwed sb-check to<br>
> complete successfully.<br>
<br>
The Windows section of the user manual contains details about building on Windows:<br>
<br>
 <a href="https://docs.rtems.org/branches/master/user/hosts/index.html#microsoft-windows" rel="noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/user/hosts/<wbr>index.html#microsoft-windows</a><br>
<br>
The Python section explains the issue with Python on Windows. We are governed by<br>
GDB and what it needs.<br>
<br>
> Well, with one warning about SVN.<br>
><br>
>      warning: exe: absolute exe found in path: (__svn) /usr/bin/svn<br>
><br>
<br>
This can be ignored.<br>
<br>
> I attempt to build the tools using the following command:<br>
><br>
>     ../source-builder/sb-set-<wbr>builder --log=l-arm.txt \<br>
> --prefix=$HOME/development/<wbr>rtems/4.12 4.12/rtems-arm<br>
><br>
> and it fails building newlib with the following info:<br>
><br>
>    config: tools/rtems-gcc-7.2.0-newlib-<wbr>2.5.0.20170922-1.cfg<br>
>    package: arm-rtems4.12-gcc-7.2.0-<wbr>newlib-2.5.0.20170922-x86_64-<wbr>w64-mingw32-1<br>
>    building: arm-rtems4.12-gcc-7.2.0-<wbr>newlib-2.5.0.20170922-x86_64-<wbr>w64-mingw32-1<br>
>    error: building arg7n2xwm1<br>
>    Build FAILED<br>
>      See error report:<br>
> rsb-report-arm-rtems4.12-gcc-<wbr>7.2.0-newlib-2.5.0.20170922-<wbr>x86_64-w64-mingw32-1.txt<br>
>    error: building arg7n2xwm1<br>
><br>
> I also tried building with the additional flag --jobs=none, and receive the same<br>
> error.<br>
><br>
> Looking in the report, it's complaining about an include file that cannot be<br>
> located.<br>
><br>
> In file included from<br>
> ../../../../../../../../../../<wbr>gcc-7.2.0/newlib/libm/machine/<wbr>arm/s_ceil.c:39:0:<br>
><br>
> ../../../../../../../../../../<wbr>gcc-7.2.0/newlib/libm/machine/<wbr>arm/../../math/s_ceil.c:23:10:<br>
> fatal error: fdlibm.h: No such file or directory<br>
><br>
>  #include "fdlibm.h"<br>
>           ^~~~~~~~~~<br>
> compilation terminated.<br>
><br>
> Full report is attached.<br>
<br>
I have just completed an ARM build on Win10 (fully updated) without error. I<br>
noticed in the report's command line you are building under:<br>
<br>
 C:/msys64/home/brendan/<wbr>development/rtems/4.12<br>
<br>
This results in file names that are longer than 260 characters which is the<br>
default max. path length for the win32 API. Please review the comments here:<br>
<br>
 <a href="https://docs.rtems.org/branches/master/user/hosts/index.html#windows-path-length" rel="noreferrer" target="_blank">https://docs.rtems.org/<wbr>branches/master/user/hosts/<wbr>index.html#windows-path-length</a><br>
<br>
I am currently using 'D:\opt\rtems\rsb.git' for the RSB repo which works.<br>
<br>
Chris<br>
</blockquote></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div></div>