My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
CygwinBuild  
Building Teyjus on Windows using the Cygwin toolchain
Updated Feb 4, 2010 by andrew.g...@gmail.com

Building Teyjus on Windows using the Cygwin Toolchain

Required Software

  • OCaml based on the MinGW toolchain.
  • OMake
  • Cygwin
  • The Teyjus source distribution

Setting up Cygwin

When installing Cygwin you must select the following packages for installation.

  • Devel: bison
  • Devel: gcc
  • Devel: flex

After Cygwin is installed, you must put Cygwin's binary directory in your Window's path. For example, C:\cygwin\bin.

Building Teyjus

From a command shell, navigate to the directory which contains the downloaded Teyjus code and execute omake all. This will create the programs tjcc, tjsim, tjlink, tjdepend, and tjdis. You should add the directory with these files to your Window's path.

For Teyjus Developers

If you want to work on the code of Teyjus, you will need a few more tools in order to run the automated tests. First, you should install the following Cygwin packages.

  • Devel: perl
  • Utils: diffutils

You should also obtain the full source code of Teyjus from the subversion repository. You can then run the automated tests with the command omake test.


Sign in to add a comment
Powered by Google Project Hosting