Re: Adding fenv support for ARM

2020-05-19 Thread Eshan Dhawan
Hello I have encountered a new error the error is coming from libm/fenv link to GitHub repository: https://github.com/eshandhawan51/newlib-cygwin/tree/add_fenv_support Make file log: eshan@EDs-pc:~/development/newlib/c-arm-rtems5-newlib$ make -k make[1]: Entering directory '/home/eshan/development

Re: Adding fenv support for ARM

2020-05-16 Thread Joel Sherrill
On Fri, May 15, 2020, 5:59 PM Eshan Dhawan wrote: > > > On Fri, May 15, 2020 at 2:22 AM Eshan Dhawan > wrote: > >> >> >> On Wed, May 13, 2020 at 7:40 PM Joel Sherrill wrote: >> >>> National free hint day!!! >>> >>> Look above the line that is reported. You will see __BEGIN_DECL. It >>> isn't de

Re: Adding fenv support for ARM

2020-05-15 Thread Eshan Dhawan
On Wed, May 13, 2020 at 7:40 PM Joel Sherrill wrote: > National free hint day!!! > > Look above the line that is reported. You will see __BEGIN_DECL. It isn't > defined. It is intended to expand to the __cplusplus wrapper. > > After you fix this, you will sequentially find 2 other things to chang

Re: Adding fenv support for ARM

2020-05-15 Thread Eshan Dhawan
On Fri, May 15, 2020 at 2:22 AM Eshan Dhawan wrote: > > > On Wed, May 13, 2020 at 7:40 PM Joel Sherrill wrote: > >> National free hint day!!! >> >> Look above the line that is reported. You will see __BEGIN_DECL. It isn't >> defined. It is intended to expand to the __cplusplus wrapper. >> >> Aft

Re: Adding fenv support for ARM

2020-05-13 Thread Joel Sherrill
National free hint day!!! Look above the line that is reported. You will see __BEGIN_DECL. It isn't defined. It is intended to expand to the __cplusplus wrapper. After you fix this, you will sequentially find 2 other things to change in this file. Then we need to make a decision whether the stat

Re: Adding fenv support for ARM

2020-05-12 Thread Joel Sherrill
Gedare is right but one more piece of information is needed. When newlib is being built, it lays target dependent files on top of generic ones. So the default sys/fenv.h is replaced with something like libc/machine/arm/sys/fenv.h. Make sure that /home/eshan/development/newlib/newlib-cygwin/newlib/l

Re: Adding fenv support for ARM

2020-05-12 Thread Gedare Bloom
Take the first error reported, and show what is being compiled. You've trimmed off too much preceding this to know what is being compiled and how this might be influencing your error. The specific error you're getting is often due to some syntax errors preceding the line shown. On Tue, May 12, 20

Re: Adding fenv support for ARM

2020-05-12 Thread Eshan Dhawan
Hello everyone, After adding the files and compiling. I am getting a few errors which I am not able to rectify. If you could take a look and tell how to sort them. link to newlib's git repo: https://github.com/eshandhawan51/newlib-cygwin/tree/add_fenv_support errors : In file included from /home

Re: Adding fenv support for ARM

2020-05-08 Thread Joel Sherrill
On Thu, May 7, 2020 at 1:33 PM Eshan Dhawan wrote: > Hello everyone, > This the tread to discuss adding fenv support for ARM architecture in > newlib. > > Link to previous thread: > https://lists.rtems.org/pipermail/devel/2020-March/058473.html > > ---FreeBSD Source > # https://github.com/freebsd