From: Gregor Riepl <seto-kun@freesurf.ch>
To: gdb@sources.redhat.com
Subject: Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
Date: Tue, 01 Jun 2004 00:49:00 -0000 [thread overview]
Message-ID: <200406010249.17839.seto-kun@freesurf.ch> (raw)
Hi, this is my first posting here.
How can I build a cross-gcc on my Linux box (host=i686-pc-linux-gnu) for
kernel debugging on my iBook G4 running Mac OS X 10.3.4? Apple doesn't cover
this issue in their docs and I couldn't find any decent cross-gdb information
on the net.
I tried to use gdb-5.3 with a more recent libbfd (the included one doesn't
know about Darwin), but this gives me a gdb that doesn't understand Mach-O:
"I'm sorry, Dave, I can't do that. Symbol format `mach-o-be' unknown."
gdb-6.3 builds, but I don't get a gdb, only a few support libs.
I also tried Apple's gdb-309, which seems to need Darwin headers.
Maybe I can get it to work if I just copy those over.
Has someone tried this?
gdb should easily do the job, but I had no luck yet.
Thanks for your help!
Gregor
next reply other threads:[~2004-06-01 0:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 0:49 Gregor Riepl [this message]
2004-06-01 1:44 ` Daniel Jacobowitz
2004-06-05 16:50 ` Gregor Riepl
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=200406010249.17839.seto-kun@freesurf.ch \
--to=seto-kun@freesurf.ch \
--cc=gdb@sources.redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox