From 850280a86292cc84bf46a9fe0e67019b772c013e Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Sun, 19 Aug 2012 11:52:43 +0530 Subject: [PATCH] Version 0.1 Update README.md --- Make.inc | 2 +- README.md | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Make.inc b/Make.inc index 35c6ace..90a9875 100644 --- a/Make.inc +++ b/Make.inc @@ -7,7 +7,7 @@ USECLANG = 0 ifeq ($(USECLANG),1) USEGCC = 0 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 ifeq ($(USEGCC),1) diff --git a/README.md b/README.md index f333955..ede406b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,18 @@ -OpenLIBM is an effort to have a high quality independent LIBM -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 v0.1 -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. 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. 2. `make USECLANG=1` to build with clang.