Version 0.1

Update README.md
This commit is contained in:
Viral B. Shah 2012-08-19 11:52:43 +05:30
parent 54d62dae16
commit 850280a862
2 changed files with 11 additions and 8 deletions

View file

@ -7,7 +7,7 @@ USECLANG = 0
ifeq ($(USECLANG),1) ifeq ($(USECLANG),1)
USEGCC = 0 USEGCC = 0
CC = clang CC = clang
CFLAGS= -std=c99 -Wall -O4 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration CFLAGS= -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
endif endif
ifeq ($(USEGCC),1) ifeq ($(USEGCC),1)

View file

@ -1,15 +1,18 @@
OpenLIBM is an effort to have a high quality independent LIBM ## OpenLIBM v0.1
library. It is meant to be used standalone in applications and
programming language implementations, and perhaps even as a reference
for LIBM implementations in OSes.
OpenLIBM builds on Linux and Mac OS X, and with little effort, OpenLIBM is an effort to have a high quality standalone LIBM
library. It is meant to be used standalone in applications and
programming language implementations.
OpenLIBM builds on Linux, Mac OS X, and Windows, and with little effort,
should build on FreeBSD as well. It builds with both, GCC and clang. should build on FreeBSD as well. It builds with both, GCC and clang.
The OpenLIBM code derives from the FreeBSD msun implementation, which The OpenLIBM code derives from the FreeBSD msun implementation, which
in turn derives from FDLIBM 5.3. 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.
Build instructions: ### Build instructions:
1. `make` or `make USEGCC=1` to build with GCC. 1. `make` or `make USEGCC=1` to build with GCC.
2. `make USECLANG=1` to build with clang. 2. `make USECLANG=1` to build with clang.