Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

2.1.2.4

windows-i386-32bit-vc90

...

2.1.0.1

windows-i386-32bit-vc90

  1. Download the CLHEP 2.1.0.1 source
  2. Ungzip and untar the file
  3. Build CLHEP from within a directory other than the source directory - so create a new directory such as C:\heather\clhep\debug
  4. Start up cygwin and have is set up to use Visual Studio 2008 using the cygwin.bat file
  5. create two environment variables:
    export CC=cl
    export CXX=cl
  6. ./configure --prefix /cygwin/c/heather/clhep/debug CXX=cl CC=cl
  7. for Debug:
    make AM_CXXFLAGS=" /EHsc /nologo /GR /MDd /Z7 /D _HAS_ITERATOR_DEBUGGING=0 /D _SECURE_SCL=0 /D _DEBUG "
    The /Z7 option should provide debugging info embedded in the static lib, rather than creating a separate pdb file if one used the /Zi or /ZI options
  8. For release:
    make
  9. make install

windows-i386-32bit-vc90-debug

  1. Download the CLHEP 2.1.0.1 source
  2. Ungzip and untar the file
  3. Build CLHEP from within a directory other than the source directory
  4. Start up a new DOS Command Window
  5. set PATH=
  6. set LIB=
  7. set INCLUDE=
  8. Run VC9's setup file:
  9. set LIB=C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib;%LIB%
  10. set PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;%PATH%
  11. set INCLUDE=C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include;include;%INCLUDE%
  12. Start up cygwin (where you have perl installed)  bash --login -i
  13. 2.1.0.1/CLHEP/configure --prefix /cygwin/c/clhep"
  14. make AM_CXXFLAGS="-EHsc -nologo -GR -MDd -ZI -D_HAS_ITERATOR_DEBUGGING=0 -D_SECURE_SCL=0"
    http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1150/1.html

...

Obtain the binaries using "wget http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.1.0.1-i386-mac106-gcc42-opt.tgz"

redhat7-x86_64-64bit-gcc48

Obtain 2.1.0.1 source and did:

  • ./configure --prefix
  • make
  • make check
  • make install

2.0.4.6

redhat4-i686-32bit-gcc34

...