wiki:Cygwin

Cygwin tips for ROMS users

Cygwin is a Unix-like environment that can run on Windows machines and will allow you to compile and execute most standard Unix/Linux applications.

Get the Cygwin/X version from http://x.cygwin.com/

Install it by clicking on the "Install Cygwin/X now" icon. At the step where you are asked to Select Packages, you will want to tick a few more boxes. I am not sure exactly what the defaults are, or what exactly is needed, but in the Devel category, I have autoconf, bashdb, binutils, bison, ctags, cvs (several), cygport, diffstat, gcc, gdb, some libraries that got selected elsewhere, and subversion. Also, my favorite editor (Xemacs), Perl, Python, some shells (bash, tcsh), some utils (units), and lots of X11 stuff.

Here are some tips on setting up Cygwin http://www.cs.nyu.edu/~yap/prog/cygwin/FAQs.html#cygwinbat

In your Cygwin home directory, you should have (or create) a file called .bashrc Edit it to indicate where some key stuff resides. Mine looks like

export LIB="C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Lib;C:\Program Files\Microsoft Visual Studio\VC98\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\DF98\IMSL\LIB;C:\Program Files\Microsoft Visual Studio\DF98\LIB"
export NETCDF_INCDIR="/usr/local/include"
export NETCDF_LIBDIR="/usr/local/lib"
export UDUNITS_PATH="/usr/local/lib/udunits.dat"
# Ignore case while completing
set completion-ignore-case on
# Make Bash 8bit clean
set meta-flag on
set convert-meta off
set output-meta on
alias less='/bin/less -r'
# alias ls='/bin/ls -F --color=tty --show-control-chars'
alias cdroms='cd ~/src/roms_sed/branches/crs_branch'
Last modified 16 years ago Last modified on 08/19/08 19:09:13
Note: See TracWiki for help on using the wiki.