All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoffrey Wossum <geoffrey@pager.net>
To: openembedded-devel@lists.openembedded.org
Cc: openembedded-devel@openembedded.org
Subject: Re: Building multiple gdb-cross targets
Date: Mon, 7 Apr 2008 13:54:23 -0500	[thread overview]
Message-ID: <200804071354.23859.geoffrey@pager.net> (raw)
In-Reply-To: <200804071759.m37HxD8J010059@aiolos.otenet.gr>

On Monday 07 April 2008 12:58:42 pm Stelios Koroneos wrote:
> I think you are missing the point
>
> "bare-metal" gdb does not have any bindings with
> glibc/uclibc/eglibc/whatever-libc because its (usually) used to build a
> system with no OS (standalone apps).
> You also need a "bare-metal" toolchain i.e toolchain that generates code
> that can run on the board without any OS (this was the case in most
> embedded designs before linux become "embedded")

Yeah, needing a baremetal gdb to debug makes perfect sense when you stop and 
think about it.  A linux-glibc gdb might want to hook into things like 
libthread_db that don't exist when debugging a kernel.

You don't need a baremetal toolchain (binutils +gcc) to build Linux or u-boot 
in this case (AVR32), though.  Maybe on some platforms you do, but not here.  
Even baremetal compilers usually need a libc, though, like using newlib to 
build a baremetal arm-elf toolchain.  The whole build a bootstrap compiler, 
then the libc, then the final compiler routine.  The AVR (not AVR32) 
toolchain is the one exception I know of to this.  For the AVR, you build 
binutils, then gcc, then avr-libc, and then your done.

---
Geoffrey



  reply	other threads:[~2008-04-07 18:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 15:57 Building multiple gdb-cross targets Geoffrey Wossum
2008-04-04 17:48 ` Khem Raj
2008-04-04 18:46   ` Geoffrey Wossum
2008-04-04 20:54     ` Leon Woestenberg
2008-04-07 14:53       ` Geoffrey Wossum
2008-04-07 14:54     ` Geoffrey Wossum
2008-04-07 17:58       ` Stelios Koroneos
2008-04-07 18:54         ` Geoffrey Wossum [this message]
2008-04-07 20:23           ` Leon Woestenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804071354.23859.geoffrey@pager.net \
    --to=geoffrey@pager.net \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.