Re: Self compiled gdb doesn't work with Xcode
Re: Self compiled gdb doesn't work with Xcode
- Subject: Re: Self compiled gdb doesn't work with Xcode
- From: Kevin Van Vechten <email@hidden>
- Date: Mon, 13 Sep 2004 11:32:41 -0700
Hi Mike,
There may be an alternative way, but not necessarily an easier way.
;-) While building Mac OS X, the headers to every project are
installed first, i.e. "make installhdrs". Some of the gdb headers are
probably considered "private" and therefore not shipped on a developer
CD. Doing the installhdrs for gdb before building will likely put
these headers in a place where they can be found.
I recommend installing into a temporary directory, inspecting it for
sanity, then copying it to the base system:
$ DSTROOT=/tmp/gdb-330.1.root
$ mkdir $DSTROOT
$ make installhdrs
# if everything looks good in $DSTROOT ...
$ ditto $DSTROOT /
(Use pax or gnutar on pure-Darwin systems.)
- Kevin
On Sep 13, 2004, at 11:14 AM, Mike Garey wrote:
I'm using Xcode 1.5. I just grabbed the source for gdb-330.1, so I'll
give it a try. Also wanted to know something else, when I try to
compile the macsbug plugin, I get all sorts of errors because it can't
find the header files (which are located in gdb-330.1/src, while the
plugin directory is in gdb-330.1/macsbug). I fixed this last time by
modifying the makefile and adding the relative paths to the include
directories, but I'd like to know if there's an easier way, since I'm
sure I'm just missing something pretty obvious here. Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden