>>    PalmOSRuntime_2i_A5.lib
>
> Eh?  My C code uses no runtime files, though may have GLIB library code
> compiled in.  Did you know that Metrowerks uses a compiled-in runtime
file?
> (which may, in fact, be what you are talking about here...) There are no
> 32-bit add/sub/mul/div operations in the 68k processor, among other
> glitches... you can generate frighteningly small code in Metrowerks if you
> remove the standard library included by default in every project. ;)

this is a Metrowerks specific file, and, most likely, you'll link it.
its all the startup code for your application. there are different
libraries depending on what type of application you have (multisegment etc)

a bit of background on this..

when the launcher starts your program, it doesn't jump straight to
PilotMain() :) actually, the entrant point is normally called
_start (gcc) and, for CW i dont remember the name of the top of my
head :) these .lib files contain these routines to ensure all your
code resources, globals variables, data spaces etc etc are all loaded
correctly. then, eventually, it makes a call to PilotMain()

in regards to creating small programs, yes, you can do it - however,
if you want globals and multiple code segments, you'll need something
like this library to link against :) most of the demo's submitted in
the competition (http://www.mobilewizardry.com/palm/contest/) were
actually not linking to this library.

all applications normally have to do this, regardless :) if you are
doing something in NSBasic, maybe their "runtime" is doing it? :) you
cannot avoid it unless you are not doing much with the program :P

>>    MathLib.prc
>
> I have used MathLib once, for a very, very small program.  I'll probably
> never use it again. *shudder*

mathlib serves its purpose. saything something like this isn't really
constructive. if you need it, you use it. if you dont need it - dont say
anything :)

---
Aaron Ardiri                             [EMAIL PROTECTED]
CEO - CTO                                                +46 70 656 1143
Mobile Wizardry                           http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to