www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Separating parser and compiler ... Palm OS version?

reply MicroWizard <MicroWizard_member pathlink.com> writes:
I would like to do some development work on my Palm
(Sony Clié PEG-TG50, PalmOS 5, ARM).

I can see the following possible ways:
- Port the GNU D compiler to PalmOS (ARM)
I'm not so good in compilers to do that.
- Port only the parser to Palm
I can't see how, but it could be possible.
- Use my Palm as a terminal to my Linux server
Possible but it needs continuous TCP/IP connection.

Any idea?

Tamás Nagy
Oct 28 2005
next sibling parent pragma <pragma_member pathlink.com> writes:
In article <djsro2$1aaq$1 digitaldaemon.com>, MicroWizard says...
I would like to do some development work on my Palm
(Sony Clié PEG-TG50, PalmOS 5, ARM).

I can see the following possible ways:
- Port the GNU D compiler to PalmOS (ARM)
I'm not so good in compilers to do that.
- Port only the parser to Palm
I can't see how, but it could be possible.
- Use my Palm as a terminal to my Linux server
Possible but it needs continuous TCP/IP connection.

Any idea?
I've done a little work for PocketPC's, and have a Palm myself. My guess is that you're going to want to go with that first option and compose a GNU compiler that has the D frontend and the Palm backend. At the very least, a good cross-compiler will let you take advantage of existing development suites that use emulation for development in this mode. Also, I'd reccomend using Ares instead of Phobos, as it has a smaller footprint. Since you're probably going to have to port some of the lower-level I/O hooks to what the Palm libraries provide (assuming they don't match up with standard C libs), this will also reduce your workload thanks to its minimalistic layout. Best of luck, and let us all know how it goes. - EricAnderton at yahoo
Oct 28 2005
prev sibling parent reply Sean Kelly <sean f4.ca> writes:
In article <djsro2$1aaq$1 digitaldaemon.com>, MicroWizard says...
I would like to do some development work on my Palm
(Sony Clié PEG-TG50, PalmOS 5, ARM).

I can see the following possible ways:
- Port the GNU D compiler to PalmOS (ARM)
I'm not so good in compilers to do that.
- Port only the parser to Palm
I can't see how, but it could be possible.
- Use my Palm as a terminal to my Linux server
Possible but it needs continuous TCP/IP connection.

Any idea?
On your Palm, or for your Palm? It would be much easier to try and integrate the DMD front end with something capable of generating ARM binaries than it would be to port a back-end to PalmOS. Space is a concern as well. Are there any freely available C compilers for PalmOS now? Sean
Oct 28 2005
parent MicroWizard <MicroWizard_member pathlink.com> writes:
Thanks for the idea.

On your Palm, or for your Palm?  It would be much easier to try and integrate
the DMD front end with something capable of generating ARM binaries than it
would be to port a back-end to PalmOS.  Space is a concern as well.  Are there
any freely available C compilers for PalmOS now?

Sean
For Palm development it is possible to use GCC with a lot of tools so C development is pretty well supported. For me C (and C++) development is a real pain, since DMD compiler is really usable ;-) I do find any possibility to develop in D _for_ Palm and develop in D _on_ Palm. Tamas
Oct 31 2005