Recipes4Linux 

Hardware Tool : BDI-2000 JTAG Emulator

DDD-2000

Cookbooks™

Recipes4 Installation


DDD-2000 has been extensively tested on the following commercial distributions:

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.

 

R4I : 1 : Update your GCC version
R4I : 2 : Update your DDD version
R4I : 3 : Apply patch and build DDD-2000

R4I : 1 : Update your GCC version

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...

  1. cp <tarball> /usr/local/src/Archives

  2. cd /usr/local/src

  3. tar xvzf Archives/gcc-3.3.3.tar.gz

  4. cd gcc-3.3.3

  5. mkdir build

  6. cd build

  7. ../configure

  8. make

  9. 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.


R4I : 2 : Update your DDD version

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...

  1. cp <tarball> /usr/local/src/Archives

  2. cd /usr/local/src

  3. tar xvzf Archives/ddd-3.3.8.tar.gz

  4. mkdir DDD2000

  5. cp -a ddd-3.3.8 DDD2000/Virgin.ddd-3.3.8

  6. cd ddd-3.3.8

  7. mkdir build

  8. cd build

  9. ../configure

  10. make

  11. 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.


R4I : 3 : Apply patch and build DDD-2000

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...

  1. cp <tarball> /usr/local/src/Archives

  2. cd /usr/local/src/DDD2000

  3. mv 3.3.8 Old-3.3.8

  4. cp -a Virgin.ddd-3.3.8 ddd-3.3.8

  5. tar xvzf ../Archives/<tarball>

  6. mkdir -p ddd-3.3.8/build

  7. cd ddd-3.3.8/build

  8. ../configure

  9. make

  10. 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