<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 4:17 PM, Russell Haley <span dir="ltr"><<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Apr 9, 2018 at 7:39 AM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is it building and working now? :)</div></blockquote><div><br></div></span><div>Yes, I'm able to run Lua 5.3 with the sparc erc32 BSP. I'm hoping to clean it up tonight and share it on the list in the next few days. There is also a tool by the lua team called srlua to create an executable from lua scripts (wraps the scripts in a standardized exe) that I'd like to examine, which may be very effective for my needs. Unfortunately the repo that I built lua from does not build the luac compiler, which I suspect I will need at some point...<br><br></div><div>Russ<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3983850339353136204HOEnZb"><div class="m_3983850339353136204h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 9:28 AM, Russell Haley <span dir="ltr"><<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="background-color:rgb(255,255,255);line-height:initial" lang="en-US">                                                                                      <div style="width:100%;font-size:initial;font-family:Calibri,'Slate Pro',sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Sorry for the direct mail, Gedare.  <span style="font-size:initial;line-height:initial;text-align:initial;font-family:Calibri,'Slate Pro',sans-serif,sans-serif">The Lua mailing list I'm on automatically forwards to all users in the email because it re-writes the return mail address but leaves the persons name on it. I keep forgetting that rtems mailing list does not. </span></div>                                                                                                                                     <div style="width:100%;font-size:initial;font-family:Calibri,'Slate Pro',sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;text-align:initial;line-height:initial"><font face="Calibri, Slate Pro, sans-serif, sans-serif">Original question below...</font></span></div><div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;text-align:initial;line-height:initial"><font face="Calibri, Slate Pro, sans-serif, sans-serif">Thanks </font></span></div><div style="width:100%;font-size:initial;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><span style="font-size:initial;text-align:initial;line-height:initial"><font face="Calibri, Slate Pro, sans-serif, sans-serif">Russ</font></span></div>                                                                                                                                                                                                   <div style="font-size:initial;font-family:Calibri,'Slate Pro',sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Sent from my BlackBerry 10 sma<wbr>rtphone on the Virgin Mobile n<wbr>etwork.</div>                                                                                                                                                                                  <table style="background-color:white;border-spacing:0px" width="100%"> <tbody><tr><td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">                           <div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in;font-family:Tahoma,'BB Alpha Sans','Slate Pro';font-size:10pt">  <div><b>From: </b>Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>></div><div><b>Sent: </b>Sunday, April 8, 2018 10:51 PM</div><div><b>To: </b>Gedare Bloom</div><div><b>Subject: </b>Re: Lua was Re: Quickstart Build instructions</div></div></td></tr></tbody></table><div style="border-style:solid none none;border-top-color:rgb(186,188,209);border-top-width:1pt;font-size:initial;text-align:initial;background-color:rgb(255,255,255)"></div><br><div id="m_3983850339353136204m_-8988851210552662484m_4672247926689299304_originalContent"><div dir="ltr">Thanks for the help! I've managed to load a lua script from a string in my C application. While novel, that in itself isn't very functional. I'll need to figure out how to run other scripts as well as C based components. <div><br></div><div>I'd like to start with getting other Lua scripts running. My goal is to load a library called penlight that's a few dozens of files. Is there a utility for creating and loading resources? I'll also look at compiling the files using the luac compiler, but that's outside of rtems.</div><div><br></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></div></blockquote><div><br></div><div>No worries. There is evolving support (pretty mature by now) for dynamically loading object code, if that is what you mean: the Runtime Loader (RTL).  I don't have any experience with it though. Chris Johns is the expert on that topic.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3983850339353136204HOEnZb"><div class="m_3983850339353136204h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="background-color:rgb(255,255,255);line-height:initial" lang="en-US"><div id="m_3983850339353136204m_-8988851210552662484m_4672247926689299304_originalContent"><div dir="ltr"><div></div><div>Very exciting!</div><div>Russ</div></div><div><div class="m_3983850339353136204m_-8988851210552662484h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 1, 2018 at 5:24 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_3983850339353136204m_-8988851210552662484m_4672247926689299304HOEnZb"><div class="m_3983850339353136204m_-8988851210552662484m_4672247926689299304h5">On Sun, Apr 1, 2018 at 1:52 AM, Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>> wrote:<br>
><br>
><br>
> On Fri, Mar 30, 2018 at 12:48 PM, Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>><br>
> wrote:<br>
>><br>
>><br>
>><br>
>> On Fri, Mar 30, 2018 at 7:54 AM, Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Mar 30, 2018 at 1:05 AM, Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Thanks Joel. I haven't looped back to test if it was my mistake or<br>
>>>> something else so I'll assume my mistake for now.<br>
>>>><br>
>>>> Either way, I'm able to build and run the examples_v2 repository against<br>
>>>> erc32, so... YAY!<br>
>>>><br>
>>>> I'd like to build Lua 5.3, do I just build the static lib "a" file and<br>
>>>> include it in a test application? Would that happen in RTEMS proper or in<br>
>>>> waf? I need sleep now but any suggestions would be grand.<br>
>>><br>
>>><br>
>>> Porting Lua was an early GSoC project. Some information is here.:<br>
>>><br>
>>> <a href="https://devel.rtems.org/wiki/Packages/LUA" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/P<wbr>ackages/LUA</a><br>
>>><br>
>>> That effort predates the RSB but the proper solution would be to have<br>
>>> an RSB recipe for it. My understanding is that it was quite easy to build<br>
>>> for RTEMS.<br>
>>><br>
>>> <a href="https://github.com/lparam/rtems-liblua" rel="noreferrer" target="_blank">https://github.com/lparam/rtem<wbr>s-liblua</a> appears to be enough to help you<br>
>>> build it.<br>
>>><br>
>>> Needs an RSB recipe though. :)<br>
>><br>
>><br>
>> That would be great. I've managed to get lua 5.3 built and installed from<br>
>> the github repo by lparam. I've run out of time but will clean it up<br>
>> tonight. The SGOC link seems to be pointing to a modified/extended lua build<br>
>> and the link to the source code is dead.<br>
>><br>
>> I'll try modifying the hello world example tonight as well and see what I<br>
>> get.<br>
><br>
><br>
> So building liblua.a was pretty straightforward as a "Ken" has already done<br>
> the heavy lifting in the makefile. I can call gmake as:<br>
><br>
> gmake ARCH=sparc-rtems5 BSP=erc32 BSP_BASE=~/development/rtems/5<br>
><br>
> and "make install" puts liblua.a in the correct directory. But I am getting<br>
> a linking errors with my example code that seem to imply a missing math<br>
> library? I copied the RTEMS hello example and added the Lua C example from<br>
> the Programming in Lua book (4th edition for 5.3). The files and build<br>
> output follow.<br>
><br>
> //test-lua.c<br>
> #include <bsp.h><br>
> #include <lua.h><br>
> #include <lualib.h><br>
> #include <lauxlib.h><br>
><br>
> //This is the reference to the lua interpreter<br>
> lua_State* L;<br>
><br>
> rtems_task Init(<br>
>     rtems_task_argument ignored<br>
> )<br>
> {<br>
>     lua_State *L = luaL_newstate();<br>
>     luaL_openlibs(L);<br>
>     char buff[256] = "print('Hello from Lua')";<br>
>     //Test of basic lua functionality<br>
>     int error;<br>
>     error = luaL_loadstring(L, buff);<br>
>     if(error)<br>
>     {<br>
>         fprintf(stderr, "%s\n", lua_tostring(L,-1));<br>
>         lua_pop(L,1);<br>
>     }<br>
>     lua_close(L);<br>
>     return 0;<br>
> }<br>
><br>
> /* NOTICE: the clock driver is explicitly disabled */<br>
> #define CONFIGURE_APPLICATION_DOES_NOT<wbr>_NEED_CLOCK_DRIVER<br>
> #define CONFIGURE_APPLICATION_NEEDS_CO<wbr>NSOLE_DRIVER<br>
> #define CONFIGURE_USE_DEVFS_AS_BASE_FI<wbr>LESYSTEM<br>
><br>
> #define CONFIGURE_RTEMS_INIT_TASKS_TAB<wbr>LE<br>
> #define CONFIGURE_MAXIMUM_TASKS 1<br>
><br>
> #define CONFIGURE_INIT<br>
> #include <rtems/confdefs.h><br>
> /* end of file */<br>
><br>
><br>
> #wscript<br>
> # Copyright 2018 Russell Haley (<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>)<br>
> # Copyright 2013 Gedare Bloom (<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>)<br>
> #<br>
> # This file's license is 2-clause BSD as in this distribution's LICENSE.2<br>
> file.<br>
> #<br>
><br>
> # Waf build script for a Lua test harness<br>
> import rtems_waf.rtems as rtems<br>
><br>
> def build(bld):<br>
>     rtems.build(bld)<br>
><br>
>     bld.includes = ['.<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/in<wbr>clude']<br>
><br>
>     bld.read_stlib('lua',<br>
> paths=['/home/russellh/develop<wbr>ment/rtems/5/sparc-rtems5/erc3<wbr>2/lib/'])<br>
>     bld(features = 'c cprogram',<br>
>         target = 'test-lua.exe',<br>
>         source = ['test-lua.c'],<br>
>         use = 'lua')<br>
><br>
><br>
> #output<br>
><br>
> russellh@g1 ~/d/e/lua53-test> waf -v<br>
> Waf: Entering directory<br>
> `/usr/home/russellh/developmen<wbr>t/examples-v2/build/sparc-rtem<wbr>s5-erc32'<br>
> [2/3] Linking ../build/sparc-rtems5-erc32/lu<wbr>a53-test/test-lua.exe<br>
> 22:33:27 runner ['/home/russellh/development/r<wbr>tems/5/bin/sparc-rtems5-gcc',<br>
> '-qrtems', '-B/home/russellh/development/<wbr>rtems/5/sparc-rtems5/lib/',<br>
> '-B/home/russellh/development/<wbr>rtems/5/sparc-rtems5/erc32/lib<wbr>/', '--specs',<br>
> 'bsp_specs', '-mcpu=cypress', '-mcpu=cypress', '-ffunction-sections',<br>
> '-ffunction-sections', '-fdata-sections', '-fdata-sections',<br>
> '-Wl,--gc-sections', 'lua53-test/test-lua.c.2.o',<br>
> '-o/usr/home/russellh/developm<wbr>ent/examples-v2/build/sparc-rt<wbr>ems5-erc32/lua53-test/test-lua<wbr>.exe',<br>
> '-Wl,-Bstatic',<br>
> '-L/home/russellh/development/<wbr>rtems/5/sparc-rtems5/erc32/lib<wbr>', '-llua',<br>
> '-Wl,-Bdynamic']<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lobject.o):<br>
> In function `numarith':<br>
> lobject.c:(.text+0x570): undefined reference to `powf'<br>
> lobject.c:(.text+0x598): undefined reference to `floorf'<br>
> lobject.c:(.text+0x5c4): undefined reference to `fmodf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lvm.o):<br>
> In function `luaV_tointeger':<br>
> lvm.c:(.text+0x308): undefined reference to `floorf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lvm.o):<br>
> In function `luaV_execute':<br>
> lvm.c:(.text+0x43cc): undefined reference to `fmodf'<br>
> lvm.c:(.text+0x4640): undefined reference to `floorf'<br>
> lvm.c:(.text+0x47f8): undefined reference to `powf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_sin':<br>
> lmathlib.c:(.text+0xd8): undefined reference to `sinf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_cos':<br>
> lmathlib.c:(.text+0x130): undefined reference to `cosf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_tan':<br>
> lmathlib.c:(.text+0x188): undefined reference to `tanf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_asin':<br>
> lmathlib.c:(.text+0x1e0): undefined reference to `asinf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_acos':<br>
> lmathlib.c:(.text+0x238): undefined reference to `acosf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_atan':<br>
> lmathlib.c:(.text+0x2b8): undefined reference to `atan2f'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_floor':<br>
> lmathlib.c:(.text+0x460): undefined reference to `floorf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_ceil':<br>
> lmathlib.c:(.text+0x4ec): undefined reference to `ceilf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_fmod':<br>
> lmathlib.c:(.text+0x654): undefined reference to `fmodf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_modf':<br>
> lmathlib.c:(.text+0x720): undefined reference to `ceilf'<br>
> lmathlib.c:(.text+0x738): undefined reference to `floorf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_sqrt':<br>
> lmathlib.c:(.text+0x7dc): undefined reference to `sqrtf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_log':<br>
> lmathlib.c:(.text+0x8b8): undefined reference to `logf'<br>
> lmathlib.c:(.text+0x904): undefined reference to `log2f'<br>
> lmathlib.c:(.text+0x93c): undefined reference to `log10f'<br>
> lmathlib.c:(.text+0x954): undefined reference to `logf'<br>
> lmathlib.c:(.text+0x964): undefined reference to `logf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_exp':<br>
> lmathlib.c:(.text+0x9c4): undefined reference to `expf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_cosh':<br>
> lmathlib.c:(.text+0xf70): undefined reference to `coshf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_sinh':<br>
> lmathlib.c:(.text+0xfc8): undefined reference to `sinhf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_tanh':<br>
> lmathlib.c:(.text+0x1020): undefined reference to `tanhf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_pow':<br>
> lmathlib.c:(.text+0x108c): undefined reference to `powf'<br>
> /home/russellh/development/rte<wbr>ms/5/sparc-rtems5/erc32/lib/li<wbr>blua.a(lmathlib.o):<br>
> In function `math_log10':<br>
> lmathlib.c:(.text+0x11c4): undefined reference to `log10f'<br>
> collect2: error: ld returned 1 exit status<br>
><br>
> Waf: Leaving directory<br>
> `/usr/home/russellh/developmen<wbr>t/examples-v2/build/sparc-rtem<wbr>s5-erc32'<br>
> Build failed<br>
>  -> task in 'test-lua.exe' failed with exit status 1:<br>
>     {task 34394256160: cprogram test-lua.c.2.o -> test-lua.exe}<br>
> ['/home/russellh/development/r<wbr>tems/5/bin/sparc-rtems5-gcc', '-qrtems',<br>
> '-B/home/russellh/development/<wbr>rtems/5/sparc-rtems5/lib/',<br>
> '-B/home/russellh/development/<wbr>rtems/5/sparc-rtems5/erc32/lib<wbr>/', '--specs',<br>
> 'bsp_specs', '-mcpu=cypress', '-mcpu=cypress', '-ffunction-sections',<br>
> '-ffunction-sections', '-fdata-sections', '-fdata-sections',<br>
> '-Wl,--gc-sections', 'lua53-test/test-lua.c.2.o',<br>
> '-o/usr/home/russellh/developm<wbr>ent/examples-v2/build/sparc-rt<wbr>ems5-erc32/lua53-test/test-lua<wbr>.exe',<br>
> '-Wl,-Bstatic',<br>
> '-L/home/russellh/development/<wbr>rtems/5/sparc-rtems5/erc32/lib<wbr>', '-llua',<br>
> '-Wl,-Bdynamic']<br>
><br>
<br>
</div></div>See the examples-v2/benchmarks/nbench/<wbr>wscript for how to link the math<br>
lib with waf<br>
<a href="https://git.rtems.org/examples-v2/tree/benchmarks/nbench/wscript" rel="noreferrer" target="_blank">https://git.rtems.org/examples<wbr>-v2/tree/benchmarks/nbench/wsc<wbr>ript</a><br>
<div class="m_3983850339353136204m_-8988851210552662484m_4672247926689299304HOEnZb"><div class="m_3983850339353136204m_-8988851210552662484m_4672247926689299304h5"><br>
><br>
>  Cheers,<br>
> Russ<br>
>><br>
>><br>
>> Thanks everyone!<br>
>><br>
>> Russ<br>
>>><br>
>>><br>
>>> --joel<br>
>>><br>
>>>><br>
>>>><br>
>>>> Thanks!<br>
>>>> Russ<br>
>>>><br>
>>>> On Wed, Mar 28, 2018 at 6:48 AM, Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Wed, Mar 28, 2018 at 12:51 AM, Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>><br>
>>>>>> ---------- Forwarded message ----------<br>
>>>>>> From: Russell Haley <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>><br>
>>>>>> Date: Tue, Mar 27, 2018 at 10:45 PM<br>
>>>>>> Subject: Re: Quickstart Build instructions<br>
>>>>>> To: Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brai<wbr>ns.de</a>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> On Tue, Mar 27, 2018 at 10:36 PM, Sebastian Huber<br>
>>>>>> <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brai<wbr>ns.de</a>> wrote:<br>
>>>>>>><br>
>>>>>>> Please send e-mails to the mailing list.<br>
>>>>>><br>
>>>>>> Sorry, my mistake.<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> On 28/03/18 07:34, Russell Haley wrote:<br>
>>>>>>>><br>
>>>>>>>> Where did the directory 5 come from in these instructions? Are you<br>
>>>>>>>> missing a mkdir?<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> The<br>
>>>>>>><br>
>>>>>>> --prefix=/usr/home/chris/devel<wbr>opment/rtems/5<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> directory is created by the sb-set-builder. It is the base<br>
>>>>>>> installation directory.<br>
>>>>>><br>
>>>>>> I was getting a directory not writeable error until I created the<br>
>>>>>> folder myself (even after correcting for my username). I'll try again later,<br>
>>>>>> but it builds if I create the 5/ directory.<br>
>>>>><br>
>>>>><br>
>>>>> What is your $HOME? Mine is usually /home/joel. If yours is similar,<br>
>>>>> then<br>
>>>>> not being able to write into /usr as non-root is expected.<br>
>>>>><br>
>>>>> Perhaps the documentation should say ${HOME}/development/rtems/5?<br>
>>>>><br>
>>>>> FWIW Around OAR, we tend to use ${HOME}/rtems-work/tools/5 or for<br>
>>>>> wider deployments /rtems/5<br>
>>>>><br>
>>>>> --joel<br>
>>>>>><br>
>>>>>><br>
>>>>>> Thanks,<br>
>>>>>><br>
>>>>>> Russ<br>
>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>>> $cd<br>
>>>>>>>> $ mkdir -p development/rtems<br>
>>>>>>>> $cd  development/rtems<br>
>>>>>>>> $ git clone git://<a href="http://git.rtems.org/rtems-source-builder.git" rel="noreferrer" target="_blank">git.rtems.org/rtems-sour<wbr>ce-builder.git</a><br>
>>>>>>>> <<a href="http://git.rtems.org/rtems-source-builder.git" rel="noreferrer" target="_blank">http://git.rtems.org/rtems-so<wbr>urce-builder.git</a>>  rsb<br>
>>>>>>>>    ...<br>
>>>>>>>> $cd  rsb<br>
>>>>>>>> $ ./source-builder/sb-check<br>
>>>>>>>>    ...<br>
>>>>>>>> $cd  rtems<br>
>>>>>>>> $ ../source-builder/sb-set-build<wbr>er\<br>
>>>>>>>>      --prefix=/usr/home/chris/devel<wbr>opment/rtems/55/rtems-sparc<br>
>>>>>>>>    ...<br>
>>>>>>>><br>
>>>>>>>> Thanks,<br>
>>>>>>>> Russ<br>
>>>>>>>><br>
>>>>>>>> On Tue, Mar 27, 2018 at 10:28 PM, Russell Haley<br>
>>>>>>>> <<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a> <mailto:<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>>> wrote:<br>
>>>>>>>><br>
>>>>>>>>     Thanks!<br>
>>>>>>>>     Russ<br>
>>>>>>>><br>
>>>>>>>>     On Tue, Mar 27, 2018 at 10:23 PM, Sebastian Huber<br>
>>>>>>>>     <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-bra<wbr>ins.de</a><br>
>>>>>>>>     <mailto:<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embed<wbr>ded-brains.de</a>>> wrote:<br>
>>>>>>>><br>
>>>>>>>>         On 28/03/18 07:14, Russell Haley wrote:<br>
>>>>>>>><br>
>>>>>>>>             Hi, the quick start indicates using ./bootstrap -p, but<br>
>>>>>>>>             using said parameter only results in the error/hep<br>
>>>>>>>> output.<br>
>>>>>>>>             Using ./bootstrap without any parameters started the the<br>
>>>>>>>>             process for me?<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> <a href="https://docs.rtems.org/branches/master/user/start/index.html" rel="noreferrer" target="_blank">https://docs.rtems.org/branche<wbr>s/master/user/start/index.html</a><br>
>>>>>>>><br>
>>>>>>>> <<a href="https://docs.rtems.org/branches/master/user/start/index.html" rel="noreferrer" target="_blank">https://docs.rtems.org/branch<wbr>es/master/user/start/index.htm<wbr>l</a>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>>         Sorry for the confusion. I updated the documentation:<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> <a href="https://git.rtems.org/rtems-docs/commit/?id=fc9db4c26eb66b1b94f79617d850d2b0f161c00e" rel="noreferrer" target="_blank">https://git.rtems.org/rtems-do<wbr>cs/commit/?id=fc9db4c26eb66b1b<wbr>94f79617d850d2b0f161c00e</a><br>
>>>>>>>><br>
>>>>>>>> <<a href="https://git.rtems.org/rtems-docs/commit/?id=fc9db4c26eb66b1b94f79617d850d2b0f161c00e" rel="noreferrer" target="_blank">https://git.rtems.org/rtems-d<wbr>ocs/commit/?id=fc9db4c26eb66b1<wbr>b94f79617d850d2b0f161c00e</a>><br>
>>>>>>>><br>
>>>>>>>>         --         Sebastian Huber, embedded brains GmbH<br>
>>>>>>>><br>
>>>>>>>>         Address : <a href="https://maps.google.com/?q=Dornierstr.+4,+D-82178+Puchheim&entry=gmail&source=g" target="_blank">Dornierstr. 4, D-82178 Puchheim</a>,<br>
>>>>>>>><br>
>>>>>>>> <<a href="https://maps.google.com/?q=dress+:+Dornierstr.+4,+D-82178+Puchheim,&entry=gmail&source=g" rel="noreferrer" target="_blank">https://maps.google.com/?q=dr<wbr>ess+:+Dornierstr.+4,+D-82178+P<wbr>uchheim,&entry=gmail&source=g</a>><br>
>>>>>>>>         Germany<br>
>>>>>>>>         Phone   : +49 89 189 47 41-16<br>
>>>>>>>> <tel:%2B49%2089%20189%2047%204<wbr>1-16><br>
>>>>>>>>         Fax     : +49 89 189 47 41-09<br>
>>>>>>>> <tel:%2B49%2089%20189%2047%204<wbr>1-09><br>
>>>>>>>>         E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
>>>>>>>>         <mailto:<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embed<wbr>ded-brains.de</a>><br>
>>>>>>>>         PGP     : Public key available on request.<br>
>>>>>>>><br>
>>>>>>>>         Diese Nachricht ist keine geschäftliche Mitteilung im Sinne<br>
>>>>>>>>         des EHUG.<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>><br>
>>>>>>> --<br>
>>>>>>> Sebastian Huber, embedded brains GmbH<br>
>>>>>>><br>
>>>>>>> Address : <a href="https://maps.google.com/?q=Dornierstr.+4,+D-82178+Puchheim,+Germany&entry=gmail&source=g" target="_blank">Dornierstr. 4, D-82178 Puchheim, Germany</a><br>
>>>>>>> Phone   : +49 89 189 47 41-16<br>
>>>>>>> Fax     : +49 89 189 47 41-09<br>
>>>>>>> E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
>>>>>>> PGP     : Public key available on request.<br>
>>>>>>><br>
>>>>>>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
>>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> ______________________________<wbr>_________________<br>
>>>>>> users mailing list<br>
>>>>>> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
>>>>>> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br>
>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br>
</div></div></blockquote></div><br></div>
<br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br></blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></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>