RTEMS Setup
===========

This file provide instructions on how to configure FLTK toolkit for MicroWindows
running under RTEMS. It is assumed that you are familiar enough with RTEMS and 
Microwindows, and have a development environment that works with both systems. 
If you are not, it is encouraged to play around with each one these packages 
first, separately, before you start mixing them together. 


Known Problems
==============

 + fluild fail to build. Do not worry. It is an application
builder and not important on an embedded system such as RTEMS.
use the one for your host machine. :-)

 + Keyboard handling does not work.



FLTK toolkit
===============

 + Download FLTK source (fltk-pre4.tar.gz) from censoft.

 + untar fltk source
    tar xzf fltk-pre4.tar.gz 

 + patch code

 + cd flmwin

Edit "makeinclude.rtems" to localize it for your environment. 
Make sure these variables are set as shown below, or they match 
with location your installations.

# Location & BSP information of the RTEMS build
RTEMS_BUILD              = /opt/rtems
RTEMS_BSP                = pc486
RTEMSTOOLSPREFIX         = i386-rtems-
MICROWIN_BUILD           = /rtems/microwin/src


  cd tests
  cp Makefile.rtems Makefile
  cd ..
  make



Credits
=======




Good Luck !!!.
Rosimildo.
