Building the MPLAB C32 Libraries

Requirements:
- MPLAB C32 with both tools and library source installed
- MSYS (MinGW - Minimal SYStem) [http://www.mingw.org/msys.shtml]
- Knowledge of Bash

The following steps document how to build the libraries provided with
MPLAB C32.  Steps 1-8 are only required the first time:
 1) Install MPLAB C32
 2) Download MSYS from http://www.mingw.org/download.shtml
 3) Install MSYS
 4) Start MSYS
 5) Make an mplab-c32 directory at the root
    $ mkdir /mplab-c32
 6) Edit /etc/fstab (c:\msys\1.0\etc\fstab) by adding the following line
    (NOTE:  This assumes you installed the tools in the standard
    installation directory.  The DOS short path is required.  Use dir /x
    to obtain.):
    c:/PROGRA~1/MICROC~1/PIC32-~1 /mplab-c32
 7) Save /etc/fstab
 8) Exit MSYS
 9) Restart MSYS
10) Add /mplab-c32/bin to your path
    $ export PATH=/mplab-c32/bin:$PATH
11) Change to the library source directory
    $ cd /mplab-c32/pic32-libs
12) Run make utility
    $ make
13) Install the libraries into MPLAB C32 directory structure
    $ make DESTROOT=/mplab-c32 install
