# set RUNMC variables export RUNMC=/home/sergei/work/RunMC # location of RunMC export RUNMCwin32=`cygpath -da \$RUNMC` # do not modify export PATH=$RUNMC/bin:\$PATH
if this is done, do "source .bashrc";
In order to use RunMC together with ROOT, first you should start X-windows on Cygwin Read more details how to start X-windows on Cygwin. The best prompt on Cygwin is RXVT, so do not forget to install it.
Next, download the additional package "runmcv[version]-win32.tar.gz" from the installation RunMC web page. This package contains compiled CLHEP and CERNLIB libraries. Do "gunzip runmc[version]-win32.tar.gz; tar -vxf runmc[version]-win32.tar (note the package may have a version number, therefore, use appropriate name for [version]). This will create "build-win32" directory; Move it to $RUNMC directory, "mv build[version]-win32 $RUNMC/" Now, go to $RUNMC/build-win32 and type "./install.sh". This should compile the RunMC.
Note that if CYGWIN does not have "libtermcap" library installed, CASCADE Monte Carlo will not be compliled. CASCADE library assumes that this library is located here "/usr/lib/termcap/libtermcap.a"