Hi Eshan,

Add your code to Newlib-cygwin and build it without any error or warning on
perspective Architecture.

If build is successful, generate a patch and add that patch to RSB then
build RSB again. After building you should be able to see the headers
somewhere in include directory. Probably it should be available in
respective architecture RTEMS target in Include directory.

Make testsuite of added functionality in testsuite perspective path.

While testing the code or debugging the code, set breakpoint on functions
what you have ported. If you are not sure about debugging information you
can use different cross tools like ***-rtems*-objdump/readelf/gdb. These
tools will help you to find the debugging symbols.

Vaibhav has summarised a post on that. I guess you have already looked into
that.

While sending the patch to newlib mailing list, make sure you have followed
all the coding conventions and rules.

Thanks,
Aditya Upadhyay



On Wed, 22 Apr 2020, 05:09 Gedare Bloom, <ged...@rtems.org> wrote:

> On Tue, Apr 21, 2020 at 3:48 PM Eshan Dhawan <eshandhawa...@gmail.com>
> wrote:
> >
> > Found it :)
> >
>
> Share it for posterity.
>
> > Thanks
> >
> >
> > > On 22-Apr-2020, at 2:43 AM, Gedare Bloom <ged...@rtems.org> wrote:
> > >
> > > I think Aditya wrote something about this before? Maybe Vaibhav?
> > >
> > >> On Tue, Apr 21, 2020 at 2:27 PM Eshan Dhawan <eshandhawa...@gmail.com>
> wrote:
> > >>
> > >> hello everyone,
> > >> After making changes in Newlib.
> > >> How can I test /build Newlib patches against rtems?
> > >>
> > >> thanks
> > >> -Eshan
> > >> _______________________________________________
> > >> devel mailing list
> > >> devel@rtems.org
> > >> http://lists.rtems.org/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to