Ver-2004-06-27 How to install Cygwin (Draft) KEK Namito, Hirayama 1. Access to http://cygwin.com/ and click "Install or Update now!". Then setup.exe is down loaded. 2.Execute setup.exe 2.1 Choose installation type---Select "default" (i.e. install from internet). 2.2 Root directory - default is c:\cygwin. Change it if necessary. Install for - Select "default" (i.e. all users). Default text file type - Select "DOS" 2.3 Local package directory - Directory for saving "Installation file". Default is a directory where setup.exe are. 2.4 Select connection type - Direct Connection 2.5 From where cygwin is downloaded - mirrors.rcn.net (mirrors.umbc.edu) etc 2.6 Select Packages - i) Click "Devel" and display its contens list. Click "gcc-g77" icon in the list and change its status from "skip" to Version nember. The current version of g77 is 3.3.1-3. ii) "time" in "Util" "vim (vi)", "emacs" in "Editors" etc. 2.7 Create Icon - Desktop and start menu 3.g77 test Open Cygwin windows by clicking Cygwin icon in desktop. Home directory is created by this operation. By typing in g77 mytest1.f a.exe is created (Create fortran program named "mytest1.f" beforehand. An example of contens of mytest1.f is as follows.) C mytest1.f a=1.0 write(6,*)a stop end Execute a.exe to see 1.0 on screen. 4. Change PATH If a.exe can not be executed, enter ./a.exe If this can be executed, add a line of PATH=.:${PATH} in .bash_profile and open Cygwin window again. a.exe should be executed this time. 5. Version of Cygwin In cygwin window, enter "uname" to obtain a version of cygwin. Most of the time, CYGWIN_NT-5.1 is displayed as the version. If other version is displayed, change strings "CYGWIN_NT-5.1" of egs5.0/get_machine to displaed version. egs5.0/get_machine is extracted from tar file when you install egs5 system.