Lua was Re: Quickstart Build instructions

Joel Sherrill joel at rtems.org
Fri Mar 30 14:54:43 UTC 2018


On Fri, Mar 30, 2018 at 1:05 AM, Russell Haley <russ.haley at gmail.com> wrote:

> Thanks Joel. I haven't looped back to test if it was my mistake or
> something else so I'll assume my mistake for now.
>
> Either way, I'm able to build and run the examples_v2 repository against
> erc32, so... YAY!
>
> I'd like to build Lua 5.3, do I just build the static lib "a" file and
> include it in a test application? Would that happen in RTEMS proper or in
> waf? I need sleep now but any suggestions would be grand.
>

Porting Lua was an early GSoC project. Some information is here.:

https://devel.rtems.org/wiki/Packages/LUA

That effort predates the RSB but the proper solution would be to have
an RSB recipe for it. My understanding is that it was quite easy to build
for RTEMS.

https://github.com/lparam/rtems-liblua appears to be enough to help you
build it.

Needs an RSB recipe though. :)

--joel


>
> Thanks!
> Russ
>
> On Wed, Mar 28, 2018 at 6:48 AM, Joel Sherrill <joel at rtems.org> wrote:
>
>>
>>
>> On Wed, Mar 28, 2018 at 12:51 AM, Russell Haley <russ.haley at gmail.com>
>> wrote:
>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Russell Haley <russ.haley at gmail.com>
>>> Date: Tue, Mar 27, 2018 at 10:45 PM
>>> Subject: Re: Quickstart Build instructions
>>> To: Sebastian Huber <sebastian.huber at embedded-brains.de>
>>>
>>>
>>>
>>> On Tue, Mar 27, 2018 at 10:36 PM, Sebastian Huber <
>>> sebastian.huber at embedded-brains.de> wrote:
>>>
>>>> Please send e-mails to the mailing list.
>>>
>>> Sorry, my mistake.
>>>
>>>>
>>>>
>>>> On 28/03/18 07:34, Russell Haley wrote:
>>>>
>>>>> Where did the directory 5 come from in these instructions? Are you
>>>>> missing a mkdir?
>>>>>
>>>>
>>>> The
>>>>
>>>> --prefix=/usr/home/chris/development/rtems/5
>>>>
>>>>
>>>> directory is created by the sb-set-builder. It is the base installation
>>>> directory.
>>>
>>> I was getting a directory not writeable error until I created the folder
>>> myself (even after correcting for my username). I'll try again later, but
>>> it builds if I create the 5/ directory.
>>>
>>
>> What is your $HOME? Mine is usually /home/joel. If yours is similar, then
>> not being able to write into /usr as non-root is expected.
>>
>> Perhaps the documentation should say ${HOME}/development/rtems/5?
>>
>> FWIW Around OAR, we tend to use ${HOME}/rtems-work/tools/5 or for
>> wider deployments /rtems/5
>>
>> --joel
>>
>>>
>>> Thanks,
>>>
>>> Russ
>>>
>>>
>>>>
>>>
>>>
>>>> $cd
>>>>> $ mkdir -p development/rtems
>>>>> $cd  development/rtems
>>>>> $ git clone git://git.rtems.org/rtems-source-builder.git <
>>>>> http://git.rtems.org/rtems-source-builder.git>  rsb
>>>>>    ...
>>>>> $cd  rsb
>>>>> $ ./source-builder/sb-check
>>>>>    ...
>>>>> $cd  rtems
>>>>> $ ../source-builder/sb-set-builder\
>>>>>      --prefix=/usr/home/chris/development/rtems/55/rtems-sparc
>>>>>    ...
>>>>>
>>>>> Thanks,
>>>>> Russ
>>>>>
>>>>> On Tue, Mar 27, 2018 at 10:28 PM, Russell Haley <russ.haley at gmail.com
>>>>> <mailto:russ.haley at gmail.com>> wrote:
>>>>>
>>>>>     Thanks!
>>>>>     Russ
>>>>>
>>>>>     On Tue, Mar 27, 2018 at 10:23 PM, Sebastian Huber
>>>>>     <sebastian.huber at embedded-brains.de
>>>>>     <mailto:sebastian.huber at embedded-brains.de>> wrote:
>>>>>
>>>>>         On 28/03/18 07:14, Russell Haley wrote:
>>>>>
>>>>>             Hi, the quick start indicates using ./bootstrap -p, but
>>>>>             using said parameter only results in the error/hep output.
>>>>>             Using ./bootstrap without any parameters started the the
>>>>>             process for me?
>>>>>
>>>>>             https://docs.rtems.org/branche
>>>>> s/master/user/start/index.html
>>>>>             <https://docs.rtems.org/branch
>>>>> es/master/user/start/index.html>
>>>>>
>>>>>
>>>>>         Sorry for the confusion. I updated the documentation:
>>>>>
>>>>>         https://git.rtems.org/rtems-docs/commit/?id=fc9db4c26eb66b1b
>>>>> 94f79617d850d2b0f161c00e
>>>>>         <https://git.rtems.org/rtems-docs/commit/?id=fc9db4c26eb66b1
>>>>> b94f79617d850d2b0f161c00e>
>>>>>
>>>>>         --         Sebastian Huber, embedded brains GmbH
>>>>>
>>>>>         Address : Dornierstr. 4, D-82178 Puchheim
>>>>> <https://maps.google.com/?q=Dornierstr.+4,+D-82178+Puchheim&entry=gmail&source=g>
>>>>> ,
>>>>>         <https://maps.google.com/?q=dress+:+Dornierstr.+4,+D-82178+P
>>>>> uchheim,&entry=gmail&source=g>
>>>>>         Germany
>>>>>         Phone   : +49 89 189 47 41-16 <tel:%2B49%2089%20189%2047%204
>>>>> 1-16>
>>>>>         Fax     : +49 89 189 47 41-09 <tel:%2B49%2089%20189%2047%204
>>>>> 1-09>
>>>>>         E-Mail  : sebastian.huber at embedded-brains.de
>>>>>         <mailto:sebastian.huber at embedded-brains.de>
>>>>>         PGP     : Public key available on request.
>>>>>
>>>>>         Diese Nachricht ist keine geschäftliche Mitteilung im Sinne
>>>>>         des EHUG.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Sebastian Huber, embedded brains GmbH
>>>>
>>>> Address : Dornierstr. 4, D-82178 Puchheim, Germany
>>>> <https://maps.google.com/?q=Dornierstr.+4,+D-82178+Puchheim,+Germany&entry=gmail&source=g>
>>>> Phone   : +49 89 189 47 41-16
>>>> Fax     : +49 89 189 47 41-09
>>>> E-Mail  : sebastian.huber at embedded-brains.de
>>>> PGP     : Public key available on request.
>>>>
>>>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180330/5a596df4/attachment-0001.html>


More information about the users mailing list