Skip to contentSkip to conversation

how can i add gdb to my toolchain ?

DISCUSSION Sabri Altunbas 3 participants 3 messages Apr 6, 2014

lore
Share & tools
lore
#0 lore raw

Hi together,

In directory

/home/tux/aaa/poky/build/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux- gnueabi

I have all the tools for building... except

arm-poky-linux-gnueabi-gdb

Can someone say me where and how can I add "...-gdb" to my toolchain ?

Regards

#1 lore raw
Quoted 4 lines · Sabri Altunbas

I have all the tools for building... except

arm-poky-linux-gnueabi-gdb
Can someone say me where and how can I add "...-gdb" to my toolchain ?

Can you not take standard gdb sources and do a ./configure --target=arm-poky-linux-gnueabi?

Building a full cross-compiling is a royal PITA, been there more than once and usually I stop at building a bare-bones C compiler as I find doing a C library maddening.

In this case, the Yocto (OpenEmbedded?) build scripts have done all the hard work for you.

Signature · 6 lines
Stuart Longland
Systems Engineer
     _ ___
\  /|_) |                           T: +61 7 3535 9619
 \/ | \ |     38b Douglas Street    F: +61 7 3535 9699
   SYSTEMS    Milton QLD 4064       http://www.vrt.com.au
#2 lore raw
In reply to Sabri Altunbas
Quoted 7 lines · Sabri Altunbas

Hi together,

In directory

/home/tux/aaa/poky/build/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux- gnueabi

Quoted 6 lines

I have all the tools for building... except

arm-poky-linux-gnueabi-gdb

Can someone say me where and how can I add "...-gdb" to my toolchain ?

bitbake gdb-cross

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------