[okl4-developer] gdb for arm?

Nelson Tam nelson at ok-labs.com
Thu Mar 6 11:44:11 EST 2008


Hi Gabi,

On 06/03/2008, at 5:51 AM, Gabi Voiculescu wrote:

> Can you recomend a source for arm-linux-gdb compatible with the arm- 
> linux toolchain which can be downloaded at the nicta site?
>
> Or can you give me a quick how to on bulding my own. I'm in  
> uncharted teritory here :P.


Try crosstool: http://www.kegel.com/crosstool/

After extracting the tarball, edit the ./demo-arm-softfloat.sh  
script.  You should remove the lines with GLIBC_ADDON_NPTL because  
NPTL should be disabled.  One of the last lines in the config  
specifies which gcc and glibc version to compile against, choose the  
one that's suitable for you (we use gcc-3.4.4 and glibc-2.3.5).   
Finally make sure that "--gdb" is given to as an argument for the  
all.sh script.

Run demo-arm-softfloat.sh and see how you go!
--
(nt)

Nelson Tam
nelson at ok-labs.com






More information about the Developer mailing list