Re: Add newlib patch to RTEMS RSB

2019-06-25 Thread Gedare Bloom
On Tue, Jun 25, 2019 at 6:13 AM Joel Sherrill wrote: > > > > On Fri, Jun 21, 2019 at 9:22 AM Vaibhav Gupta > wrote: >> >> >> >> On Fri, Jun 21, 2019, 7:19 PM Joel Sherrill wrote: >>> >>> >>> >>> On Fri, Jun 21, 2019 at 3:37 AM Vaibhav Gupta >>> wrote: Hello, I figured it out.

Re: Add newlib patch to RTEMS RSB

2019-06-25 Thread Joel Sherrill
On Fri, Jun 21, 2019 at 9:22 AM Vaibhav Gupta wrote: > > > On Fri, Jun 21, 2019, 7:19 PM Joel Sherrill wrote: > >> >> >> On Fri, Jun 21, 2019 at 3:37 AM Vaibhav Gupta >> wrote: >> >>> Hello, >>> I figured it out. >>> . >>> Below is the output given by shell >>> .. >>> .. >>> .. >>>

Re: Add newlib patch to RTEMS RSB

2019-06-21 Thread Vaibhav Gupta
On Fri, Jun 21, 2019, 9:19 PM Gedare Bloom wrote: > On Fri, Jun 21, 2019 at 2:37 AM Vaibhav Gupta > wrote: > > > > Hello, > > I figured it out. > > . > > Below is the output given by shell > > .. > > .. > > .. > > config: tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg > > warning:

Re: Add newlib patch to RTEMS RSB

2019-06-21 Thread Gedare Bloom
On Fri, Jun 21, 2019 at 2:37 AM Vaibhav Gupta wrote: > > Hello, > I figured it out. > . > Below is the output given by shell > .. > .. > .. > config: tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg > warning: rtems-gcc-7.4.0-newlib-1d35a003f.cfg:29: invalid format: '%setup > patch newlib

Re: Add newlib patch to RTEMS RSB

2019-06-21 Thread Vaibhav Gupta
On Fri, Jun 21, 2019, 7:19 PM Joel Sherrill wrote: > > > On Fri, Jun 21, 2019 at 3:37 AM Vaibhav Gupta > wrote: > >> Hello, >> I figured it out. >> . >> Below is the output given by shell >> .. >> .. >> .. >> config: tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg >> warning:

Re: Add newlib patch to RTEMS RSB

2019-06-21 Thread Joel Sherrill
On Fri, Jun 21, 2019 at 3:37 AM Vaibhav Gupta wrote: > Hello, > I figured it out. > . > Below is the output given by shell > .. > .. > .. > config: tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg > warning: rtems-gcc-7.4.0-newlib-1d35a003f.cfg:29: invalid format: '%setup > patch newlib

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Chris Johns
On 21/6/19 4:43 am, Gedare Bloom wrote: > On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta > wrote: >> + /bin/cat >> /home/varodek/development/rtems/rsb/rtems/patches/0001-Port-ndbm.patch >> + /usr/bin/patch -p3 > > This is the problem, the -p3 is wrong. I don't know where this is > coming from

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Joel Sherrill
Chris. can you provide some patch and RSB guidance? Please On Thu, Jun 20, 2019 at 2:07 PM Vaibhav Gupta wrote: > > > On Fri, Jun 21, 2019 at 12:13 AM Gedare Bloom wrote: > >> On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta >> wrote: >> > >> > I checked that erc32 is using rtems-sparc.bset

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Vaibhav Gupta
On Fri, Jun 21, 2019 at 12:13 AM Gedare Bloom wrote: > On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta > wrote: > > > > 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

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Gedare Bloom
On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta wrote: > > 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 >

Add newlib patch to RTEMS RSB

2019-06-20 Thread Vaibhav Gupta
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