• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Self compiled gdb doesn't work with Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Self compiled gdb doesn't work with Xcode (From: "Mike Garey" <email@hidden>)

  • Prev by Date: Re: Rép : Using dead notification with mach ports
  • Next by Date: need help resolving symbols using twolevel hints table
  • Previous by thread: Re: Self compiled gdb doesn't work with Xcode
  • Next by thread: Rép : Using dead notification with mach ports (Modifié par Stéphane Letz)
  • Index(es):
    • Date
    • Thread