Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
@ 2004-06-01  0:49 Gregor Riepl
  2004-06-01  1:44 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Riepl @ 2004-06-01  0:49 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
  2004-06-01  0:49 Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin Gregor Riepl
@ 2004-06-01  1:44 ` Daniel Jacobowitz
  2004-06-05 16:50   ` Gregor Riepl
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2004-06-01  1:44 UTC (permalink / raw)
  To: Gregor Riepl; +Cc: gdb

On Tue, Jun 01, 2004 at 02:49:17AM +0200, Gregor Riepl wrote:
> 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!

There's no Darwin support in GDB outside of Apple's sources, so you're
out of luck asking here.  Might want to try an Apple list instead.

-- 
Daniel Jacobowitz


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
  2004-06-01  1:44 ` Daniel Jacobowitz
@ 2004-06-05 16:50   ` Gregor Riepl
  0 siblings, 0 replies; 3+ messages in thread
From: Gregor Riepl @ 2004-06-05 16:50 UTC (permalink / raw)
  To: gdb

On Tuesday 01 June 2004 03:44, Daniel Jacobowitz wrote:
> There's no Darwin support in GDB outside of Apple's sources, so you're
> out of luck asking here.  Might want to try an Apple list instead.

They couldn't help much either, but I was able to adapt Apple's gdb to build 
on GNU/Linux.
So, if someone's interested, please have a look at my homepage:
http://www.hta-bi.bfh.ch/~riepg/misc_cross.html

Greetings
Gregor


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-05 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-01  0:49 Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin Gregor Riepl
2004-06-01  1:44 ` Daniel Jacobowitz
2004-06-05 16:50   ` Gregor Riepl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox