Pilot Resource Compiler - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Pilot Resource Compiler

Description:

IDE vs old fashion hacking! Other opinions? Part I. Use PRC Tools with Pilrc ... Extract hello.zip in a directory. Set $PATH to include prc tools and pilrc ... – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 19
Provided by: Ale8244
Category:

less

Transcript and Presenter's Notes

Title: Pilot Resource Compiler


1
Pilot Resource Compiler
  • Using PRC Tools
  • Code Warrior Plugin

Alex Mak http//students.depaul.edu/amak1 2/27/20
01
2
PilRC
  • PilRC originally created by Wes Cherry, it is
    now maintained by Aaron Ardiri.
  • Use PilRC to compile Palm forms defined in a tag
    based language instead of using Code Warrior
    constructor.
  • ltshow pilrc doc htmlgt

3
PilRCUI
  • This tool should be used to preview forms. But
    this tool is not available in Windows!!
  • This tool is mentioned in the Makefile, but it
    will not compile in Windows
  • I confirmed this from email from Aaron Ardiri!

4
What is PilRC good for?
  • Alternative to Code Warrior
  • A better way to list objects in a form
  • Use either gcc or Code Warrior with plugin
  • Its basically a preference. IDE vs old fashion
    hacking!
  • Other opinions?

5
Part I. Use PRC Tools with Pilrc
6
Start here
  • The web is very confusing. There are lots of
    FAQs, but most are out of date.
  • http//www.palmos.com/dev/tech/tools/gcc/

7
Get all the tools
  • Cygwin a Bash emulator with all my favorite
    tools ( Make, ls, cut, wc,) also command line
    editing! Much Much better than DOS
  • PRC tools-2.0.exe the C compiler
  • Palm OS SDK for PRC and patch
  • PilRC (version 2.7b as of 2/9/2001)
  • as you can see this stuff is very new!

8
SDK patch
  • The patch will extract to the wrong dir if you
    are not careful.
  • Palm development is very new. Everything is
    buggy, everyone is learning.
  • Thats why we are here!

9
Hello World!
  • http//www.cyberport.com/tangent/palm/faq/example
    s/hello.html
  • Extract hello.zip in a directory.
  • Set PATH to include prc tools and pilrc
  • lt show how to do this in cygwingt

10
Preview
  • Because PILRCUI is missing, so we use pilrcedit
    to preview or even draw your own!
  • http//www.wn.com.au/rnielsen/
  • Add pilrcedit.jar in CLASSPATH (make sure in DOS
    style)
  • java pilrcedit.PilrcEdit

11
Pilrcedit
12
Compile and Test
  • Compile with make
  • hello.prc!
  • Test with POSE

13
Part II. Use PilRC plugin
14
Start Here
  • Get the Plugin by Neil Rhodes
  • http//www.calliopeinc.com/devcorner.htm
  • Documentation for Palm is usually hidden!
  • Get OreillyStarter and upcoming 2nd Edition?

15
Install the plugin
  • Put PilRC.DLL in
  • C\Program Files\Metrowerks\CW Lite for Palm
    OS\bin\plugins\compiler
  • From Neils Web page
  • Prepare project
  • In File Mappings panel, add a .rcp entry that
    compiles with PilRC plugin. Make sure that all
    the checkmarks in the flags popup are off and the
    File type is TEXT.
  • WHAT????

16
(No Transcript)
17
Plugin Demo
  • prc in (CW Debug)

18
Thanks!
Write a Comment
User Comments (0)
About PowerShow.com