Re: Building libm library
Harish <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CA+BROwCMmqg+1EgGoq7TaTrgnqQZqisSO2wi+-N-bh9wdJOCjQ@mail.gmail.com> |
Ok, thanks for the clarification. One more question. I would like to use math library on a baremetal and want to know if the newlib math library uses system calls?. If yes, is there any other implementation which can be used for baremetals? Regards, Harish On Thu, 15 Jul, 2021, 11:19 pm Jeff Johnston, <[email protected]> wrote: > Hello Harish, > > It isn't supported. There are no top Makefile targets for you to do this > and building targets directly from Makefiles in subdirectories often > runs into issues (e.g. missing headers that haven't been copied or > paths/vars set incorrectly since they are supposed to be set by parent > Makefiles). > In addition, the errno/reentrant mechanisms used by libm.a are supplied by > libc.a. > > -- Jeff J. > > On Thu, Jul 15, 2021 at 7:44 AM Harish <[email protected]> wrote: > >> Hi newlib, >> >> I would like to build just libm.a library, is it possible? if yes, please >> let me know how can I do it. >> >> >> Thanks, >> Harish C >> >>