Department of Information Technology

This page is a copy of edu/course/homepage/realtid/p1ht08/lego/BrickosAtHome (Mon, 27 Oct 2008 13:44:27)

Running BrickOS/LegOS at Home

BrickOS on Windows

When running BrickOS/LegOS at home in your Microsoft Windows 95/98/NT/2K/Something environment you need to install a cygwin shell and a Hitachi-H8 cross compiler (i.e., a compiler that can generate code for another processor).

You can use the same pre-packaged cygwin-legos.zip used in the lab-computers. Then you need to:

  • Download the cygwin-legos.zip package (56 MB). Unpack it into the root of C:. This will unpack a cygwin installation into the directory C:\cygwin-legos. It is important to unpack exactly to this place, otherwise the paths will not work.
  • Download the registry patch cygwin.reg. This file contains data that cygwin needs to find its paths. Either run it directly when it is fetched or double-click on it afterwards, this will add the needed keys to the registry.
  • Copy (or rename) the directory legos-0.2.6 to legos.
  • Run Cygwin (double-click on cygwin.bat in the cygwin-legos directory).
  • Go to the legos directory and type:
make realclean
make depend
make
cd util
make strip
Hopefully everything should be compiled without any problems.

Updated  2008-10-27 13:44:27 by Pavel Krcal.