Re: [PATCH] Remove multiple defination error

Eshan Dhawan via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAH5ZSWqxb_UBPRqdoGc==ozjPjSHHwmwyr2pYwiK8+7hso3gZg@mail.gmail.com>
On Sat, Jul 11, 2020 at 8:46 PM Sebastian Huber <
[email protected]> wrote:

> On 11/07/2020 00:41, Eshan dhawan wrote:
>
> > Signed-off-by: Eshan dhawan<[email protected]>
> > ---
> >   newlib/libm/machine/arm/fenv-vfp.c |  7 ++++-
> >   newlib/libm/machine/arm/fenv.c     | 47 +++++++++++++++++++-----------
> >   2 files changed, 36 insertions(+), 18 deletions(-)
>
> What are the design goals of this implementation? Should it work with
> some sort of run time VFP detection? Should it select the support using
> builtin defines?
>
It used the GCC flags to detect VPF
if VPF is not selected all the symbols of vfp won't appear :)

>
> I would use builtin defines only and then just use a single file.
>
I tried converting into a single file but the file becomes too complex to
handle and check for errors. :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.