Thanks for your answers, Scott. I am still lost in a fog in certain
areas, but this certainly helps.
On Tue, Mar 21, 2000 at 09:00:59AM -0500, Scott Bambrough wrote:
>
> The current compiler (2.95.2) has support for an arm-thumb target.
> There are two distinct backends. The compiler under development has an
> arm-thumb branch which combines the two backends. I believe arm-thumb
> is one of the supported platforms in the Cygnus tools product they
> sell. I'm not sure of the exact target to use with configure though.
> You might try posting to the gcc list and hopefully someone will
> answer.
>
Thanks, I'll try asking there (and poking around the gcc codebase).
> The kernel is a 26/32 bit piece of code. It makes no use of thumb
> instructions, I can't imagine why it would either.
>
Ummm, thumb is still 32-bit, right? I know it has 16-bit opcodes, but
my understanding is that it still supports 32-bit operations. I'm just
asking if anyone has gone through the trouble of getting some of the
platform-independant parts of the kernel (i.e. no asm, no asmlinkage)
to use a thumb backend.
I'm very concerned about code footprint and am willing to do some work
to reduce it; if I can get 30% better code density for the (relatively
large) networking stack at the expense of some performance, I would
certainly go for it.
Someone please tell me know if I am grossly misinterpreting the Thumb
stuff and making a fool of myself... I have a lot of embedded experience
but am new to the ARM architecture.
> > Second, what are my choices for a C library? I'll be working on
> > an embedded device, so pointers to options other than glibc are
> > welcome.
>
> newlib from sourceware.cygnus.com might be a good place to start
> looking. Never really used it so I can't comment much.
>
Yeah, I've played with newlib, and it seems pretty nice. My main concern
is whether it has decent API coverage for a "typical" Linux app (assuming
it doesn't use lots of GNU or BSD extensions). I guess there's only one
way to find out...
miket
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++