浏览代码

Compile instructions

Viral B. Shah 13 年之前
父节点
当前提交
842286d74b
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      README.md

+ 6 - 1
README.md

@@ -4,7 +4,12 @@ programming language implementations, and perhaps even as a reference
 for LIBM implementations in OSes.
 for LIBM implementations in OSes.
 
 
 OpenLIBM builds on Linux and Mac OS X, and with little effort, 
 OpenLIBM builds on Linux and Mac OS X, and with little effort, 
-should build on FreeBSD as well.
+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.
+
+Build instructions:
+
+`make` or `make USEGCC=1` to build with GCC.
+`make USECLANG=1` to build with clang.