2012-08-19 08:22:43 +02:00
|
|
|
## OpenLIBM v0.1
|
|
|
|
|
|
|
|
OpenLIBM is an effort to have a high quality standalone LIBM
|
2011-12-31 08:18:43 +01:00
|
|
|
library. It is meant to be used standalone in applications and
|
2012-08-19 08:22:43 +02:00
|
|
|
programming language implementations.
|
2011-12-31 08:18:43 +01:00
|
|
|
|
2012-08-19 08:22:43 +02:00
|
|
|
OpenLIBM builds on Linux, Mac OS X, and Windows, and with little effort,
|
2012-07-03 17:30:34 +02:00
|
|
|
should build on FreeBSD as well. It builds with both, GCC and clang.
|
2012-01-06 05:35:01 +01:00
|
|
|
|
2011-12-31 08:18:43 +01:00
|
|
|
The OpenLIBM code derives from the FreeBSD msun implementation, which
|
2012-08-19 08:22:43 +02:00
|
|
|
in turn derives from FDLIBM 5.3. As a result, it has a number of fixes and
|
|
|
|
updates that have accumulated over the years in msun, and also optimized
|
|
|
|
assembly versions of many functions.
|
2012-07-03 17:30:34 +02:00
|
|
|
|
2012-08-19 08:22:43 +02:00
|
|
|
### Build instructions:
|
2012-07-03 17:30:34 +02:00
|
|
|
|
2012-07-03 17:31:08 +02:00
|
|
|
1. `make` or `make USEGCC=1` to build with GCC.
|
|
|
|
2. `make USECLANG=1` to build with clang.
|