diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-01-22 10:32:45 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-01-22 10:32:45 -0330 |
commit | d9bc73f20f196cdc32901ad9578bc3a3b3bb4a75 (patch) | |
tree | b58679d5de4de1a87c1b0c52f65a1925f2555204 /cpp | |
parent | Modfied mcpp debug lib name (diff) | |
download | ice-d9bc73f20f196cdc32901ad9578bc3a3b3bb4a75.tar.bz2 ice-d9bc73f20f196cdc32901ad9578bc3a3b3bb4a75.tar.xz ice-d9bc73f20f196cdc32901ad9578bc3a3b3bb4a75.zip |
Updated mcpp build instructions
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/INSTALL.LINUX | 5 | ||||
-rw-r--r-- | cpp/INSTALL.WINDOWS | 31 |
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 |