> I have a console program written in Ada, and I want to port it onto palm.
Ada! No one talks about that anymore! :) How big is it? What Ada features does it use? I hope it doesn't use tasks. :) Does it uses packages? By "console program", I assume you mean that it's based on a command line interface. Palm OS has the concept of a "standard I/O" app, but this isn't something most users would know how to run. You can write a "standard I/O provider" app to host your standard I/O app. That'd help, but it's still not the kind of interface most Palm users are familiar with. A rewrite may be necessary just to get a UI that's appropriate for the platform. There may be similar issues with storage, memory use, etc. Palm OS is a constrained platform, unlike most other platforms that you're likely to be porting from. If your app isn't too big, rewriting it is probably your best bet. If it's huge, you might consider defining macros and using similar ugly techniques to get your existing code to compile as C or C++ source with minimal changes. I don't know how far you can go with this. The biggest problem with this approach is debugging - both the macros themselves and the code using the macros. As far as Ada for Palm OS, the only thing I could find is this demo: http://www.gnat.com/texts/products/prod_java.htm Good luck. -- Danny @ PalmSource -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
