hm ok so i did look into the kernel/arch/arm/lib directory and found some .S
assembler files.
i tried to compile a simple one strchr.S , the instructions and the whole
arm layout seem fairly different from the ones i had used in the past.
anyway the source doesn't seem like a main program, rather a low level
procedure that can be accessed from other codes..

by the assembler can't compile it (even as if - i didnt touch it)

[sbox-DEHTARGET: ~/linux-2.6.12.2/arch/arm/lib] > arm-linux-as strchr.S
strchr.S: Assembler messages:
strchr.S:17: Error: bad instruction `entry(strchr)'
strchr.S:26: Error: bad instruction `retinstr(mov,pc,lr)'

any ideas why? is there any tutorial page for the arm , because i haven't
found any...
nass

On 7/14/07, Lauri Leukkunen <[EMAIL PROTECTED]> wrote:

On 13/07/07 13:23 +0300, )(@sS wrote:
> i would like to know if there is an assembler for scrachbox, like armasm
or
> whatever else..

You seem to have already found the assembler of the toolchain, now all you
need to do is to find some example code, linux kernel definitely has some,
look for .S files under arch/arm. Those should give you an idea what the
assembler expects. Alternatively compile some C code with -S and look at
the output.

/lauri
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to