xref: /relibc/openlibm/README.md (revision 66e6f8ea913723ee89661029383384f69e0c8685)
1## OpenLIBM
2
3OpenLIBM is an effort to have a high quality standalone LIBM
4library. It is meant to be used standalone in applications and
5programming language implementations.
6
7OpenLibm builds on Linux, Mac OS X, and Windows, and with little effort,
8should build on FreeBSD as well. It builds with both, GCC and clang.
9
10The OpenLIBM code derives from the FreeBSD msun implementation, which
11in turn derives from FDLIBM 5.3. As a result, it has a number of fixes and
12updates that have accumulated over the years in msun, and also optimized
13assembly versions of many functions.
14
15### Build instructions:
16
171. `make` or `make USEGCC=1` to build with GCC.
182. `make USECLANG=1` to build with clang.
19