Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
- Subject: Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin
- From: Gregor Riepl <email@hidden>
- Date: Tue, 1 Jun 2004 22:20:46 +0200
- Organization: HTA Biel
Hello all
I'm having an issue with remote debugging.
Since I own only one Apple Computer (an iBook G4 with OS X 10.3.4), I cannot
use a second one to remote-gdb a driver I'm developing.
As gdb is opensource software, I assumed it would be easy to just compile it
on my Linux PC with target=powerpc-apple-darwin.
This did not work at all, though.
The official gdb-5.3 had a quite old bfd, which I replaced, but the resulting
binary did not know what to do with a mach-o-be binary.
gdb-6.1 built only a handful support libs, but no gdb.
And, at last, Apple's gdb-309 had lots of Darwin dependencies which I haven't
been able to resolve yet. I tried with copying the neccessary header files
over and fixing a few glitches, but still errors.
Has someone done this?
I don't really want to run the debugging session in PearPC, but if there's no
other choice...
Thanks for the help
Gregor
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.