Recipes4Linux
DDD-2000 has been extensively tested on the following commercial distributions:
RHL 7.x
RHL 8
RHL 9
The following information has to be filtered when applied to different host distributions. If you did not install all packages doing a custom installation, you may need to install individual RPM files, as required.
All recipes on this site make assumptions about the host, to keep things simpler in the recipes. See this link to review the basic assumptions.
Stock installation of gcc-3.3.3 works out-of-box on above RHL platforms. If your host gcc compiler is stock from the distribution, gcc-3.3.3 is an update/upgrade to your current system. Binutils is included on downloads for those building a cross-development environment. For a strictly host development system, binutils should not be necessary.
Recipe steps...
cp <tarball> /usr/local/src/Archives
cd /usr/local/src
tar xvzf Archives/gcc-3.3.3.tar.gz
cd gcc-3.3.3
mkdir build
cd build
../configure
make
make install
This installs gcc v3.3.3 into /usr/local/bin. If you want to use this compiler for host makes, you need to either modify your $PATH environment variable or explicitly reference the tool in Makefiles.
Stock installation of ddd-3.3.8 works out-of-box on above RHL platforms. Recipe steps assume gcc-3.3.3 is pathed in through $PATH, and is used to build DDD.
Recipe steps...
cp <tarball> /usr/local/src/Archives
cd /usr/local/src
tar xvzf Archives/ddd-3.3.8.tar.gz
mkdir DDD2000
cp -a ddd-3.3.8 DDD2000/Virgin.ddd-3.3.8
cd ddd-3.3.8
mkdir build
cd build
../configure
make
make install
This installs ddd v3.3.8 into /usr/local/bin. If you want to use this version of ddd by default, you need to modify your $PATH environment variable.
Please follow R4I : 2 : Update your DDD version before continuing with this recipe.
All patch files for bdiDDD are applied against a "virgin" 3.3.8 directory tree, hence importance of step 5 in above recipe.
Recipe steps...
cp <tarball> /usr/local/src/Archives
cd /usr/local/src/DDD2000
mv 3.3.8 Old-3.3.8
cp -a Virgin.ddd-3.3.8 ddd-3.3.8
tar xvzf ../Archives/<tarball>
mkdir -p ddd-3.3.8/build
cd ddd-3.3.8/build
../configure
make
make install
Step 10 can be viewed as optional and used with care. If you do step 10 you are installing DDD-2000 into system areas of your root filesystem. This effectively overwrites an existing installation, such as what you did in R4I : 2 : Update your DDD version. As an alternative to running step 10, you can path into the build directory for the ddd executable and set the $DDD_HOME environment variable.
Contact tmike@recipes4linux.com
Copyright © 2004 Tools Made Tough