If you wanted to write a simple C program that only did printf("Hello
world!"); How would you
program that, compile it, and link it (how would you include stdio.h,
etc, etc)? And then, how would you run it (to actually see the text,
"Hello world!" display on your screen of your device)?
From what I have read so far, from the StdIOPalm.h and
StdIOPalmProvider.h, this leads me to think implementing some
PalmProvider app is the route to go, but it seems a lot more
complicated than I originally though.
One step further, if you want to attempt to port some basic C code to
a Palm platform, what is necessary for doing so? Are there any good
porting tools that translate normal C header files to Palm-ified
Header files?
I was looking around and find some items such as StdIOPalm.h which I
assume is equivalent to stdio.h. I have also found a unix_stdio.h
file. Which would be best to use?
What is missing from Palm header files and what is implemented?
This may be a very open ended question, but I hope it may prove
helpful to other as well.
Eric
PalmOS C/C++ Portability Guide
http://dogbert.mse.cs.cmu.edu/charlatans/References/Tech_Doc/Palm_FAQ/articles/stdlib.html
FC
It sounds like you want to write a "console" program for Palm.
Never heard of that.
Did that StdIOPalm.h stuff seem to help with doing something like that? I
would think that "stdio" on the palm would just mean trying to get the same
basic variety of file access functions working, *not* displaying stuff to
the screen and getting input. Am I wrong?
If you want to write simple GUI programs for your own use,
the demo version of "hotpaw basic" is pretty amazing with
shallow learning curve, no .h, libraries, pragmas etc....all
that stuff that makes C so hard to use. Don't remember if
the pay version will let you compile.
mike