Cygwin Setup


ROOT can be easily compiled and installed using the Cygwin environment. Once you've setup Cygwin as described on the Cygwin web site you have to add the following lines to your .bash_profile:
#
# ROOT
#
export ROOTSYS='c:\home\rdm\root'   # must be in DOS format (change path!)
export PATH=`cygpath -u $ROOTSYS`/bin:$PATH
Also the path to the compilers must be provided. This depends on where you've installed the compilers. Assuming the defaults you can use:
export PATH=$PATH:/c/WINNT/system32:/c/WINNT:/c/Program\ Files/Microsoft\ Visual\ Studio/Common/Tools/WinNT:/c/Program\ Files/Microsoft\ Visual\ Studio/Common/MSDev98/Bin:/c/Program\ Files/Microsoft\ Visual\ Studio/Common/Tools:/c/Program\ Files/Microsoft\ Visual\ Studio/VC98/bin:/c/Program\ Files/DevStudio/DF/bin:/c/Program\ Files/DevStudio/SharedIDE/bin
Environment variable for building add-on libraries should be specified like for the Unix/Linux build process.

Complete .bash_profile and .bashrc can be downloaded.


Rene Brun, Fons Rademakers
Last update 13/06/2000 by FR