summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2014-05-30 14:35:34 +0200
committerRoger Meier <roger@apache.org>2014-05-30 14:40:36 +0200
commite9f00cbe64afac087c01dad7dee2fe90402d9218 (patch)
tree65b0b14e9034e44a5180093e49f28edbdc7dde50 /README.md
parent6848de85b8bc94910842fc4c4bfa72c250d4b7ab (diff)
downloadthrift-e9f00cbe64afac087c01dad7dee2fe90402d9218.tar.gz
add doc/install from website, update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 11 insertions, 8 deletions
diff --git a/README.md b/README.md
index 3520c0179..add5cdbe5 100644
--- a/README.md
+++ b/README.md
@@ -72,8 +72,7 @@ thrift/
Requirements
============
-See http://wiki.apache.org/thrift/ThriftRequirements for
-an up-to-date list of build requirements.
+See http://thrift.apache.org/docs/install for an up-to-date list of build requirements.
Resources
=========
@@ -95,25 +94,29 @@ If you are building from the first time out of the source repository, you will
need to generate the configure scripts. (This is not necessary if you
downloaded a tarball.) From the top directory, do:
- ./bootstrap.sh
+ ./bootstrap.sh
Once the configure scripts are generated, thrift can be configured.
From the top directory, do:
- ./configure
+ ./configure
You may need to specify the location of the boost files explicitly.
If you installed boost in /usr/local, you would run configure as follows:
- ./configure --with-boost=/usr/local
+ ./configure --with-boost=/usr/local
Note that by default the thrift C++ library is typically built with debugging
symbols included. If you want to customize these options you should use the
CXXFLAGS option in configure, as such:
- ./configure CXXFLAGS='-g -O2'
- ./configure CFLAGS='-g -O2'
- ./configure CPPFLAGS='-DDEBUG_MY_FEATURE'
+ ./configure CXXFLAGS='-g -O2'
+ ./configure CFLAGS='-g -O2'
+ ./configure CPPFLAGS='-DDEBUG_MY_FEATURE'
+
+To enable gcov required options -fprofile-arcs -ftest-coverage enable them:
+
+ ./configure --enable-coverage
Run ./configure --help to see other configuration options