Building libm library

Paul Zimmermann
Mon Jul 19 08:19:00 GMT 2021

       Hi Harish,

> I would like to build just libm.a library, is it possible? if yes, please
> let me know how can I do it.

I don't know if this answers your question, but here is how I compile Newlib
libm.a on x86_64 under Linux:

tar xf newlib-4.1.0.tar.gz
cd newlib-4.1.0
mkdir build
cd build
../configure --prefix=/tmp --target=x86_64 --disable-multilib
make -j4

Best regards,

More information about the Newlib mailing list