# # ROOT # export ROOTSYS='c:\home\rdm\root' # must be in DOS format (change path!) export PATH=`cygpath -u $ROOTSYS`/bin:$PATHAlso 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/binThis assumes that you have mounted Cygwin under / and the Windows C disk (or whaterver drive letter your Windows partition lives under) as /c. Use the mount command like:
mount c:\ /cTo mount the C disk. When typing mount you should now see:
Device Directory Type Flags C:\cygwin\bin /usr/bin user binmode C:\cygwin\lib /usr/lib user binmode C:\cygwin / user binmode C: /c user textmodeEnvironment variable for building add-on libraries should be specified like for the Unix/Linux build process.
Complete .bash_profile and .bashrc can be downloaded.