[Scratchbox-users] arm assembler for scratchbox?
)\( at sS
athanasios.silis at gmail.com
Mon Jul 16 13:00:42 EEST 2007
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 <lle at rahina.org> 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 at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070716/80860c96/attachment.htm
More information about the Scratchbox-users
mailing list