hepmc - Blame information for rev 286

Subversion Repositories:
Rev:
Rev Author Line No. Line
286 garren 1 For the compilation under cygwin using VC++, you have to make sure that
2 the PATH contains the path to the installation of Visual Studio.
3 The safest way to do this, is to add VC to your cygwin.bat file.
4 Since it is possible to have several different versions of VC on the same
5 machine, we recommend keeping a generic cygwin.bat and creating special
6 cygwinXXX.bat file for each compiler you want to use.
7  
8 Here is an example for VC9:
9  
10  
11 For the compilation under cygwin using VC 7.1 (Version 13.10.3077)
12 you have to make sure that the PATH contains the path to the
13 installation of Visual Studio .NET 2003, for example:
14  
15 export VSPATH="/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003"
16  
17 export PATH="/cygdrive/c/WINNT/Microsoft.NET/Framework/v1.1.4322":${PATH}
18  
19 export PATH="${VSPATH}/SDK/v1.1/bin":${PATH}
20 export PATH="${VSPATH}/Common7/Tools/bin":${PATH}
21 export PATH="${VSPATH}/Common7/Tools/bin/prerelease":${PATH}
22 export PATH="${VSPATH}/Common7/Tools/":${PATH}
23  
24 export PATH="${VSPATH}/Vc7/bin":${PATH}
25 export PATH="${VSPATH}/Common7/IDE":${PATH}
26  
27 The compiler also needs the following variables set up (and
28 as these are interpreted by the compiler, they have to be in
29 "windows-syntax"):
30  
31 export INCLUDE="C:/cygwin/home/clhep/1.9.2.2/include;c:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/include;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include"
32 export LIB="C:/cygwin/home/clhep/1.9.2.2/lib;c:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib"
33  
34 Notice that CLHEP needs to be defined in LIB and INCLUDE.
35 You may have to adapt to your installation path, if different.
36  
37 That's it ! And since you read until here, you can shorten
38 the whole procedure by sourcing setup.cygwin-VC71
39  
40 Please report problems using the bug-tracker of the
41 savannah portal at:
42  
43 http://savannah.cern.ch/projects/hepmc/
44