View Full Version : No arm-palmos-gcc in PODS?
alt236
07-13-2007, 01:52 PM
Hi guys,
This might sound as an odd thing but I'm currently working on a sideproject of mine (porting sftp to palm) and I'm using the code from pssh and putty to get things going.
Since I won't be near my Linux box for the next few days due to work, I installed PODS on mu laptop and imported the pssh code.
Now what I noticed is that arm-palmos-gcc toolchain is nowhere to be found although the rest of the prc-tools are.
Surprisingly PODS can still compile the sample armlet.
Am I missing something here?
alt236
07-14-2007, 04:34 PM
Ah well, I just downloaded the cygwin setup from the cygwin website, ran it, and selected arm-palmos-gcc from the available list :D
Now off to get the code working...
phreakonaleash
07-24-2007, 11:48 AM
I think PODS rolls its own protein compiler. :-)
alt236
07-24-2007, 12:05 PM
Yes it does.
I noticed it afterwards, but I needed to recompile some old (arm-gcc dependant) sources and didn't want to start editing long makefiles without good reason (bit lazy actually :) ).
phreakonaleash
07-24-2007, 12:08 PM
It happens...
Hmm... cygwin for PalmOS5 would be GREAT! :D
What I'd like is the ability to set up ssh tunnels on a Palm device (maybe instead of VPN).
alt236
07-24-2007, 02:46 PM
I know... If I can get the ssh thing to work properly, I'll probably relsease it as a library so that it would be easy to add tunneling support to current network programs.
It's a bit tricky though... too many dependencies that need to be rewritten for palm.
@_Em
have you seen micro-VNC? I don't know if it of any use to you but it allows VNC over an ssh tunnel. Unfortunately its not open source.
Yes, I've fiddled with it; I'm looking for something that'll tunnel to a SOCKS5 proxy actually :)
That way, I can encrypt all my WiFi traffic to my home computer, and browse from there. Also useful inside the enterprise environment.
uVNC is great, but it doesn't handle my screen resolutions correctly and the UI is horrible. It'd be great to build it into Palm VNC though.
The other SSH solution I've seen is PSSH (http://www.sealiesoftware.com/pssh/). I use it from time to time, but typing's a pain. However, it's open source, so you might want to take a look. They just don't implement tunnelling.
alt236
07-24-2007, 04:50 PM
uVNC is generally faster than PalmVNC but I know what you mean about the resolution. Does your vnc server support ServerSideScaling? It might help.
Now SOCKS5 compatibility is something I've never seen being mentioned on a palm. Would be interesting to get it working though...
Pssh is great. I use to connect to my lab computer and midify my experiments while away from uni. It also has part of the code im using.
The other part is putty. I'm trying to port the tunneling bits and (of course the sftp part) over but palm's memory management system gets in the way :).
Tam Hanna
07-27-2007, 07:39 PM
Hi,
in what extent does it get in the way?
If you need rewrite stubs for some of the c library memory routines, I have those for you! Needed them myself for an Oreilly book!
alt236
07-27-2007, 07:50 PM
Yes! That's whats missing.
Any chance I can have a copy?
Tam Hanna
07-28-2007, 12:04 PM
Hi,
here goes AFAIK:
http://tamspalm.tamoggemon.com/2006/01/08/malloc-and-free-for-palm-os/
Anyways, IMHO, DONT get down to rewriting the actual code. Just make wrapper functions that "wrap" the std library calls down to Palm OS API.
Also, I have heard that GCC ships with a stdlib for Palm OS somehow...but please dont take my word on this!
alt236
07-28-2007, 12:15 PM
I won't get into rewritting, its simply too much work.
But writting a good framework implementing the wrapping functions takes a bit of time.
Hmm... Yes, I remember reading something about the stdio but it would only work on terminal sceens (like the Log viewer in the Network preferences).
Many thanks!
alt236
07-28-2007, 12:22 PM
On a similar note, anyone thinks that it might be a good idea to collect all the personal wrapping/making life simpler/bypassing palm problems code that is floating aroung in one place?
It will life easier for most people since they wont have to reinvent the wheel everytime.
Tam Hanna
08-07-2007, 06:15 AM
Hi,
DEFINITELY!
TamsPalm is ready and waiting!
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.