summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/INSTALL.LINUX5
-rw-r--r--cpp/INSTALL.WINDOWS31
2 files changed, 28 insertions, 8 deletions
diff --git a/cpp/INSTALL.LINUX b/cpp/INSTALL.LINUX
index 7441e7afa12..00517f51261 100644
--- a/cpp/INSTALL.LINUX
+++ b/cpp/INSTALL.LINUX
@@ -73,9 +73,12 @@ http://www.zeroc.com/download.html
Ice requires the library version of mcpp, so configure mcpp similar
to the following
- ./configure --enable-mcpplib --disable-shared
+ ./configure CFLAGS=-fPIC --enable-mcpplib --disable-shared
(and --prefix=<dir> if you like)
+ For 64bit machines, after installation it is necessary to rename the
+ library installation directory from $(prefix)/lib to $(prefix>/lib64.
+
Python
------
diff --git a/cpp/INSTALL.WINDOWS b/cpp/INSTALL.WINDOWS
index c27d3543833..aa0ed56ef69 100644
--- a/cpp/INSTALL.WINDOWS
+++ b/cpp/INSTALL.WINDOWS
@@ -135,15 +135,32 @@ release version on your system, please rename the debug library to
"libbz2d.lib". This is also what the Ice project files expect if you
build a debug version of Ice.
-For mcpp it is necessary to first apply a source patch available on
-the Ice download page before building. From the mcpp 2.6.4 base
-directory run
+Since Ice requires the library version of mcpp you cannot use the
+mcpp Windows installer but must build it yourself. Once you downloaded
+and unpacked the mcpp source package use the following steps to build
+mcpp:
- patch -p0 < mcpp-2.6.4.patch
+1. From the mcpp base direcory apply the mcpp source patch available
+ on the Ice download page:
-Ice requires the library build of mcpp, so please follow the library
-build instructions found in doc/mcpp-porting.html in the mcpp source
-distribution.
+ patch -p0 < mcpp-2.6.4.patch
+
+2. CD to the mcpp src directory:
+
+ cd src
+
+3. Apply the appropriate patch for noconfig.H from the noconfig
+ directory. For example for VS2005 you would run:
+
+ patch -p0 < ../noconfig/vc2005.def
+
+4. Build the mcpp library:
+
+ nmake MCPP_LIB=1 /f ../nonconfig/visualc.mak mcpplib
+
+ Or for the debug version of the library:
+
+ nmake MCPP_LIB=1 DEBUG=1 /f ../nonconfig/visualc.mak mcpplib
If you compile the third-party libraries from source code, we
recommend that you use the same Visual C++ version to build all of