OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio


Welcome Guest ( Log In | Register )

> Compiling For Armv4 Processors
post Mar 2 2006, 11:36 PM
Post #1

Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275

Ok, first above anything else, hello everybody n_n
If someone here already know me, he/she may know then that I'm not here for asking 34352452234 support questions and give no answers...
I'm here because I'm a developer who recently acquired a zaurus device and I would love to port and create software for this platform just as I did (and still do) for HPC devices....
pdaXrom is GREAT, specially for developers like me. Thanks for making such a great "distro".
However... let's get to the point...

I'm already developing some stuff on my zaurus like dockapps and some utilities that are needed on a jornada (under linux).
The problem is... that the zgcc provided by you compiles for the xscale processor.
Binaries made by zgcc on the zaurus are useless in any linux distro on a jornada 720 (StrongARM processor.... that's ARMv4 instruction set if the information I handle is right).
I tried some gcc switches in a couple of attempts on building for older ARM processors but all of them failed in some degree... always causing the typical illegal instruction error in the J720..

gcc has way too many options and flaws, settings and switches, environmental variables and ways to configure each step.

What are the proper switches, environmental settings, bells and whistles that I need to set-up in order to compile binaries compatibles with a Jornada 72x (or other ARMv4 device)????
Is it possible at all?
Any information on the matter will be appreciated.
Thanks for your time, your effort... and of course.... pdaXrom wink.gif
Elias Zacarias
Go to the top of the page
+Quote Post
Start new topic
post Mar 2 2006, 11:54 PM
Post #2

Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210


You'll find pdaxrom for 5x000.
a zgcc and cross compiler that produce code for armv4

However the processor is not the only problem, for instance pdaxrom use softfloat, if the glibc on your jordana isn't compiled for softfloat, a binary compiled with the cross-compiler above will probably not work.

You must also take into account that the version of gcc - glibc used might be different and that not all versions are compatible.....

It is probably easier to use the toolchain that is used to build the distro for the jordana to recompile your applications.

You can perhaps also have a look at the pdaxrom builder (docs on www.pdaxrom.org)
Go to the top of the page
+Quote Post
post Mar 3 2006, 09:18 AM
Post #3

Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275

Thanks, I'll take a look at those tools.
I'll report you the results as soon as I test it tongue.gif

[EDIT] The binary didn't run... incompatible glibc version i think..
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 9th July 2014 - 05:49 PM