Subject: Re: ELF stuff
To: Chris Gilbert <chris@paradox.demon.co.uk>
From: Richard Earnshaw <rearnsha@arm.com>
List: port-arm32
Date: 02/02/2001 10:18:53
> On Thursday 01 February 2001  6:50 pm, Ben Harris wrote:
> > Out of curiosity, could someone try building an arm32 kernel with "options
> > EXEC_ELF32"?  I'm curious to know if all the necessary stuff's there.
> 
> Does this mean you've a suspision it is? :)
> 
> Well I've built a kernel, it's happily booted and running on my RPC.  Only 
> problem is how to create a test elf program?   Is there a flag to gcc to get 
> elf instead of a.out?
> 

No, you need an elf toolchain.  You will also need ELF system libraries 
(eg libc) and crt0.o before you can link your application.  You can't 
dynamically link against the a.out shared libs.

R.