Cygwin Installation
The Cygwin toolkit provides Unix tools on the Windows platform. You need only install the Cygwin toolkit if you are going to develop your own actors.Note that compile your own actors, you will also need the
javac compiler. The javac compiler
is part of the JDK, which is available at:
http://java.sun.com/j2se/1.3/.
The javac compiler is not present in the
Java Runtime Environment (JRE)
The Cygwin home page is at
http://sources.redhat.com/cygwin/
Complete installation instructions can be found at
http://sources.redhat.com/cygwin/faq.
Installing Cygwin from the self-extracting executable
We provide a self-extracting .exe file that contains the set of tools necessary to configure and compile Ptolemy II.
The file we provide includes the following packages and their source code.
ash-20001012 bash-2.04-5 cygwin-1.1.7-1 diff fileutils-4.0-1 findutils grep-2.4.2-1 gzip less make-3.79.1-2 sed-3.02-1 shellutils tar-1.13.18-2 textutils-2.0-1
- Download and execute
cygwinforptolemy.exe(17.5Mb). The files will be extracted to an seemingly arbitrary directory. You may find it easier to change the directory to something short, likec:\temp\cygwin. - Run
setup.exe - Select
Install from Local Directoryand click onNext. - Keep the default for
Local Package Directoryand click onNext. - Keep the default of
c:/cygwinfor theSelect install root directoryand click onNext. - In the
Select packages to installwindow, click onNext, which will install all the packages. - Select
Create Desktop IconandAdd to Start Menuaccording to your preferences. - Remove the temporary directory where you extracted the files.
Installing Cygwin from the Web
Below are the instructions for installing Cygwin from the Cygwin website. You may want to do this to get the most up-to-date tools.- Create an empty directory
- Download
http://sources.redhat.com/cygwin/setup.exeand save it in the empty directory - Click on
setup - Select Install from Internet
- Use the default Local Package Directory, which should be the directory you created above.
- Select
c:\cygwinas your install root directory. - Select 'Default Text File Type' of DOS.
- If you are not behind a firewall, click on direct connection.
- Select a nearby mirror.
- You will be presented with a list of packages to install.
A complete installation takes at least 75Mb.At the minimum, select the packages below, which is roughly a 3Mb download that expands into an 8.7Mb installation.
- ash - For
/bin/sh - bash
- cygwin
- diff - Configure uses
cmp - fileutils - For
ls - grep - Used by configure
- make
- sed - Needed by config.status, which is created by configure
- shellutils - For
basename - textutils - For
catandtr
If you are serious about development you may also want:
- autoconf - requires gawk, grep, m4
- findutils
- gzip
- less
- tar
- Rebuilding in java/lang/ptbyacc requires gcc and w32api
- ash - For
