The Motorola Development Community


Go Back   MotorolaFans.com Forums > Developments > Development
Notices

Development Hacking, development, scripts etc

Reply

MotoFans NWBE

captain jtejur's Avatar

Join Date: Mar 2008
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Nuernberg; Germany

Send a message via ICQ to captain jtejur
Quote  
#1
03-23-2008
Question programming (compiling/interpreting) on A780

Hi there,

I'm just new to the forum as I plan on buying a Motorola a780, mainly because of it's Linux PDA features and the quite moderate price.

So here's what I'd like to know before buying and couldn't find out yet: I would like to be able to write and compile/execute programs on the road (basically to do some small physical calculations to verify results of current measurements and things like that). How easy is it to get a C compiler, Perl interpreter, or even better a FORTRAN compiler running on the a780, so that I can write AND run programs on the phone?

The only thing I found out so far is a perl interpreter called "microperl" but I'm not sure if this is sort of a perl-console with direct input only, or if it can handle perl scripts. C and/or Fortran would be more useful, anyhow.

BTW, I tried to search for similiar topics on the forum too, but could find only unsatisfying Borland Compiler with DosBox solutions.
Reply With Quote


User Information
Current Phone: Motorola A780
Location: Nuernberg; Germany

captain jtejur is offlineReport Post
mostly harmless

swifty's Avatar

Join Date: Jul 2005
Posts: 3,737
Thanks: 55
Thanked 171 Times in 150 Posts
Location: Franconia

Quote  
#2
03-23-2008
Default

i move your post to the development section.
there are more expierienced programers.
i have seen a zaurus c port:
run zgcc(gcc for zaurus) under E680i
and some python port:
Python 2.4.3 for A780
maybe this could help you
Reply With Quote


User Information
Current Phone: A780
Location: Franconia

swifty is online nowReport Post
The Following User Says Thank You to swifty For This Useful Post:
captain jtejur (03-23-2008)
MotoFans NWBE

captain jtejur's Avatar

Join Date: Mar 2008
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Nuernberg; Germany

Send a message via ICQ to captain jtejur
Quote  
#3
03-23-2008
Default

The zgcc port looks good if it works on a780 (don't know about how big the difference of the architecture is in comparisson to the e680i) but I just asked that in it's thread.
Python, however, would be ok as an alternative, if nothing else works out. Thanks for the quick reply.
Reply With Quote


User Information
Current Phone: Motorola A780
Location: Nuernberg; Germany

captain jtejur is offlineReport Post
mostly harmless

swifty's Avatar

Join Date: Jul 2005
Posts: 3,737
Thanks: 55
Thanked 171 Times in 150 Posts
Location: Franconia

Quote  
#4
03-23-2008
Default

python is working.
zgcc should work too (not tested by me)
A780 is mostly the same architecture as E680i.

Last edited by swifty; 03-23-2008 at 10:38 PM.
Reply With Quote


User Information
Current Phone: A780
Location: Franconia

swifty is online nowReport Post
MotoFans JUNR

Join Date: Nov 2006
Posts: 74
Thanks: 0
Thanked 5 Times in 5 Posts
Location: Jakarta

Send a message via MSN to keaglez Send a message via Yahoo to keaglez
Quote  
#5
03-23-2008
Default

Well, i have:
- zgcc working but sometimes seg. fault or illegal instruction
- php working perfectly
- perl working, havent tried do more with it (not interested with perl, however have tested run some script successfully)
- python working, havent tried do more with it either

My device is ROKR E2, it should work same as all ezx too.

Looking forward for a fully working gcc or zgcc, so i can completely move to C or C++...
Reply With Quote


User Information
Current Phone: Motorola ROKR E2
Firmware: Modified Katze3
Location: Jakarta

keaglez is offlineReport Post
MotoFans NWBE

captain jtejur's Avatar

Join Date: Mar 2008
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Nuernberg; Germany

Send a message via ICQ to captain jtejur
Quote  
#6
03-23-2008
Default

Quote:
Originally Posted by keaglez View Post
Well, i have:
- zgcc working but sometimes seg. fault or illegal instruction
- php working perfectly
- perl working, havent tried do more with it (not interested with perl, however have tested run some script successfully)
- python working, havent tried do more with it either

My device is ROKR E2, it should work same as all ezx too.

Looking forward for a fully working gcc or zgcc, so i can completely move to C or C++...
Do you have a full Perl version? I just found something about "microperl" which is a single executable that can run only rudimentary perl scripts. If you have full perl, where did you get it from or how did you do it?

Fully working gcc, g++ or gfortran would indeed be the best solution.
Reply With Quote


User Information
Current Phone: Motorola A780
Location: Nuernberg; Germany

captain jtejur is offlineReport Post
MotoFans JUNR

Join Date: Nov 2006
Posts: 74
Thanks: 0
Thanked 5 Times in 5 Posts
Location: Jakarta

Send a message via MSN to keaglez Send a message via Yahoo to keaglez
Quote  
#7
03-23-2008
Default

Look at the zgcc thread, i have posted the links there...you can found the perl in that links... All u need is just copy bin and lib somewhere in ur SD, then set the environment manually...
Reply With Quote


User Information
Current Phone: Motorola ROKR E2
Firmware: Modified Katze3
Location: Jakarta

keaglez is offlineReport Post
MotoFans NWBE

captain jtejur's Avatar

Join Date: Mar 2008
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Nuernberg; Germany

Send a message via ICQ to captain jtejur
Quote  
#8
03-23-2008
Default

Quote:
Originally Posted by keaglez View Post
Look at the zgcc thread, i have posted the links there...you can found the perl in that links... All u need is just copy bin and lib somewhere in ur SD, then set the environment manually...
You mean here?
http://distro.ibiblio.org/pub/linux/...00-c3x00/feed/

What are these *.ipk files?
Reply With Quote


User Information
Current Phone: Motorola A780
Location: Nuernberg; Germany

captain jtejur is offlineReport Post
mostly harmless

swifty's Avatar

Join Date: Jul 2005
Posts: 3,737
Thanks: 55
Thanked 171 Times in 150 Posts
Location: Franconia

Quote  
#9
03-23-2008
Default

Quote:
Originally Posted by captain jtejur View Post
You mean here?
http://distro.ibiblio.org/pub/linux/...00-c3x00/feed/

What are these *.ipk files?
you can decompress this *.ipk with ark on linux.
these are compressed tar files.
Reply With Quote


User Information
Current Phone: A780
Location: Franconia

swifty is online nowReport Post
MotoFans JUNR

Join Date: Nov 2006
Posts: 74
Thanks: 0
Thanked 5 Times in 5 Posts
Location: Jakarta

Send a message via MSN to keaglez Send a message via Yahoo to keaglez
Quote  
#10
03-24-2008
Default

Yup, its a tar.gz archives... Oh, there are gcc too... You might try it...
Reply With Quote


User Information
Current Phone: Motorola ROKR E2
Firmware: Modified Katze3
Location: Jakarta

keaglez is offlineReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:24 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.