
The avit_crosstools package is for cross compiling AVIT C and C++ programs
on a x86 compatible Linux 32 bit platform. If you don't already have a Linux
distribution preference, we recommend installing a recent version of Ubuntu
Desktop Linux which can be downloaded from the Ubuntu website.    

It is also possible to install and use AVIT Crosstools on a 64 bit Linux
platform provided that 32 bit compatibility has been provided. One easy 
way of providing such 32 bit compatibility for recent Ubuntu 64 bit
distributions is to install the ia32-libs package. (sudo apt-get install
ia32-libs).    

To install AVIT Crosstools on your Linux platform follow the steps below:

1) copy the avit_crosstools.tar.bz file to your home directory.
2) cd $HOME
3) tar xvjf avit_crosstools.tar.bz
4) export PATH=$HOME/avit_crosstools/usr/bin:$PATH
   Run each time you start a new terminal session for compiling or add to your
   users "bashrc" file.

NOTE: The avit_crosstools directory need not be installed in the user's home
      directory so long as the --sysroot argument and search path are adjusted
      accordingly.  


Example compile:
arm-linux-gcc -oAvitAnalogs AvitAnalogs.c -ldavit4 --sysroot $HOME/avit_crosstools

The above example will cross compile the AvitAnalogs.c example program. Provided
that there were no errors, the result will be an ARM EABI executable named
AvitAnalogs which can now be copied to the AVIT via Windows file sharing, ftp or
such and run.


