Guidance to make Testsuites

Vaibhav Gupta vaibhavgupta40 at gmail.com
Thu Jun 20 07:36:52 UTC 2019


I checked that erc32 is using     rtems-sparc.bset      file
Inside it i found, it is using
rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f   file
.
I added following lines to
rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg

%prep
  %patch setup newlib -p1
.
.
.
%patch add newlib file://0001-Port-ndbm.patch
%hash md5 0001-Port-ndbm.patch 706d8f63c0b625fd4da666ae5e0fc089


Now do I need to run the following command?
../source-builder/sb-set-builder --prefix=/home/varodek/development/rtems/5
5/rtems-sparc

I mean I need to build tool-chain for sparc using rsb again?
?

Vaibhav Gupta



On Fri, Jun 14, 2019 at 1:31 AM Gedare Bloom <gedare at rtems.org> wrote:

> On Thu, Jun 13, 2019 at 10:31 AM Vaibhav Gupta <vaibhavgupta40 at gmail.com>
> wrote:
> >
> > Hello,
> > To test the codes I have ported, it is necessary to make tesuites.
> > .
> > I have compiled newlib for sparc and arm architecture and have
> > kept them in separate folders.
> > RTEMS is present in a different folder.
> > .
> > I want to know how to use compiled newlib in RTEMS?
> >
>
> You can use the RSB with custom patches applied during the build
> process. There is an example exactly about newlib in the docs, have a
> read through:
> https://docs.rtems.org/branches/master/user/rsb/project-sets.html#patches
>
> > Thank you
> > Vaibhav Gupta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190620/8ac588ae/attachment-0002.html>


More information about the devel mailing list