PilotMAG Installation
=====================

Installation with old 0.5.0 PRC-tools
-------------------------------------

This installation is completely independent and Setup do everything for you.

It install by default in: C:\Program Files\TSHG\GNU PalmPilot Developer Tools\
With some modification in AUTOEXEC.BAT:

SET PATH=%path%;C:\PROGRA~1\TSHG\GNUPAL~1\BIN

SET EMACSLOADPATH=C:\PROGRA~1\TSHG\GNUPAL~1\emacs\lisp
SET EMACSPATH=C:\PROGRA~1\TSHG\GNUPAL~1\bin
SET EMACSLOCKDIR=c:\temp
SET INFOPATH=C:\PROGRA~1\TSHG\GNUPAL~1\info
SET EMACSDOC=C:\PROGRA~1\TSHG\GNUPAL~1\emacs\etc
SET EMACSDATA=C:\PROGRA~1\TSHG\GNUPAL~1\emacs\etc
SET GCC_EXEC_PREFIX=C:\PROGRA~1\TSHG\GNUPAL~1\lib\gcc-lib\

If you don't use Emac editor tools you can delete all set's starting with EMAC.

Generally prc-tools coming with Palm OS SDK 1.0 and with PILRC 1.5. This is
quite good for start, but user will need to install new SDK and PILRC, which
support newest version of Palm OS.
How to install this:

- Install PilotMAG

- Download last version of PILRC from:
http://www.hig.se/~ardiri/development/palmIII/pilrc/index.html

After downloading copy file PILRC.EXE in directory:
C:\Program Files\TSHG\GNU PalmPilot Developer Tools\bin\

Don't forget to switch options in PilotMAG for this support. Go to PilotMAG
main menu: Tools | Environment Options, and in "pilrc" tab select option:
PILRC Version 2.x.

- Download SDK from:
http://www.palm.com/devzone/tools/gcc/#sdks

Copy one of SDK in directory. Copy completely directory with subdirectory's.
C:\Program Files\TSHG\GNU PalmPilot Developer Tools\lib\gcc-lib\m68k-palmos-coff\2.7.2.2-kgpd-071097\include

Don't forget to switch options in PilotMAG for prt-tools 0.5.0 support.
Go to PilotMAG main menu: Tools | Environment Options, and in "...gcc" tab select option:
prc-tools Version 0.5.0.

Installation with 2.0 prc-tools
-------------------------------

If you have previous installation it is good idea to uninstall completely first.
This include also removing all lines from AUTOEXEC.BAT including path set for
ptc-tools 0.5.0.

- Install PilotMAG

- Download from: http://www.palm.com/devzone/tools/gcc/

cygwin-b20.1.exe [full] and install to default path.
cygwin1.dll and copy to c:\windows\system
prc-tools-2.0.exe and install in default path

Add this line in your Autoexec.bat for prc-tools bin
SET PATH=%path%;C:\PROGRA~1\PRC-TO~1\H-I586~1\BIN

- Download last version of PILRC from:
http://www.hig.se/~ardiri/development/palmIII/pilrc/index.html
After downloading copy file PILRC.EXE in directory:
C:\Program Files\PRC-Tools\H-i586-cygwin32\bin

Don't forget to switch options in PilotMAG for this support. Go to PilotMAG
main menu: Tools | Environment Options, and in "pilrc" tab select option:
PILRC Version 2.x.

- Download SDK from:
http://www.palm.com/devzone/tools/gcc/#sdks

Copy all SDK (sdk-1, sdk-2 or sdk-3.1) in directory: C:\PalmDev
Copy completely directory with subdirectory's.
Rename one od SDK directory to sdk, or just pass parameter -palmosX to gcc 
where X is version of sdk.

Don't forget to switch options in PilotMAG for prt-tools 2.0 support.
Go to PilotMAG main menu: Tools | Environment Options, and in "...gcc"
tab select option: prc-tools Version 2.0.
Uncheck "Multiple code resource" for start. You maybe need this later.