pradeep sawlani wrote:
[...]
> If I compile with gcc 3.4.3, I get following compile time errors:
> ../arm/locore.S: Assembler messages:
> ../arm/locore.S:135: Error: register expected, not '#0x03' -- `orr r0,#0x03'

Yes, I got this as well. I think what's happening is the code is using
shorthand instructions which gcc 3 doesn't support --- orr r0, #0x03
instead of orr r0, r0, #0x03, for example.

It compiles with gcc 4.

[...]
> R_ARM_PC24: 0008803c -> ea00014e
> R_ARM_ABS32: 000882a0 -> 800896f4
> Panic: relocation fail

I don't know what's causing this. It might be worth tweaking locore.S to
work in gcc 3 and building it that way; the problems could well be
incompatibilites between gcc 3 and gcc 4 --- the raise() error is due to
a change in the gcc 4 libgcc, for example.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ ⍎'⎕',∊N⍴⊂S←'←⎕←(3=T)⋎M⋏2=T←⊃+/(V⌽"⊂M),(V⊝"M),(V,⌽V)⌽"(V,V←1⎺1)⊝"⊂M)'
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to