From 070bdc70d4076677a5f8574b4baafd4f49a01f35 Mon Sep 17 00:00:00 2001 From: Steven Shaw Date: Thu, 30 Nov 2006 12:49:10 +0000 Subject: Added some comments about building a debug release for RHEL3 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480911 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/README.rhel3 | 7 +++++++ cpp/options-rhel3.mk | 1 + cpp/release.client.rhel3 | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'cpp') diff --git a/cpp/README.rhel3 b/cpp/README.rhel3 index 58d1ac765f..7a9989ced9 100644 --- a/cpp/README.rhel3 +++ b/cpp/README.rhel3 @@ -9,6 +9,12 @@ Install boost-1.33.1 into ~/local/boost-1.33.1 Install cppunit-1.11.4 into ~/local/cppunit-1.11.4 +If you want a standard release build skip this step. If you want a debug +build do the following: + + 1. Edit options-rhel3.mk. Comment out definition of RELEASE. + 2. Edit release.client.rhel3. Change buildType to "debug". + Build using the following command: $ ./build.rhel3 @@ -20,3 +26,4 @@ Generate cppclient tarball: or if you want to name the release: $ ./release.client.rhel3 1.0-RC1 + diff --git a/cpp/options-rhel3.mk b/cpp/options-rhel3.mk index c84cab94b1..f2108d89e0 100644 --- a/cpp/options-rhel3.mk +++ b/cpp/options-rhel3.mk @@ -2,6 +2,7 @@ # Expects dependencies in ~/local # +# Comment out the setting of RELEASE to build a debug release. RELEASE := 1 # Configure Boost. diff --git a/cpp/release.client.rhel3 b/cpp/release.client.rhel3 index f1f3b0fe88..52b9d731d9 100755 --- a/cpp/release.client.rhel3 +++ b/cpp/release.client.rhel3 @@ -1,5 +1,7 @@ #!/bin/bash +buildType="release" # change to "debug" to build a debug release + if [[ $# -eq 1 ]]; then name=$1 elif [[ $# -ne 0 ]]; then @@ -26,8 +28,8 @@ mkdir $dir # mkdir $dir/lib cp \ - build/apr-release/lib/libqpid_client.so.1.0 \ - build/apr-release/lib/libqpid_common.so.1.0 \ + build/apr-$buildType/lib/libqpid_client.so.1.0 \ + build/apr-$buildType/lib/libqpid_common.so.1.0 \ $dir/lib cp -r ~/local/apr-1.2.7 $dir/lib cp -r ~/local/boost-1.33.1 $dir/lib -- cgit v1.2.1