
This directory contains a utility that check the size of a file. 
It gets the size of <macro-tag> from <configuration-file> and then
validates the image size. Multiple <macro-tag> can be specified at
the end of the command line. It will add all given <macro-tag>.

The command line is:

     checkaddr <configuration-file> <image-file> <macro-tag> <...> 

where
     <configuration-file> - contains <macro-tag> for linker script.
     <image-file> - is an image file which will be checked its size.
     <macro-tag> - is a string of MACRO defined in <configuration-file>
                   This MACRO will be used to define the size that limits
                   the size of <image-file>.

This application can be built with the GNU tools that ship with Cygwin.
These tools are shipped with NET+OS for GNU.  If you do not have them,
then you can download them for free from http://www.cygwin.com/.

To build using Microsoft Visual C++ to remove the cygwin1.dll dependency,
use these commands on Command window:

nmake /f "checksize.mak" CFG="checksize - Win32 Release"

nmake /f "checksize.mak" CFG="checksize - Win32 Release" clean

