This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: insight builds with no errors on OSX, but gdb not! being built ...
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Hermann-Simon Lichte'" <hermann dot lichte at gmail dot com>, <openmacnews at gmail dot com>
- Cc: <insight at sourceware dot org>
- Date: Tue, 14 Mar 2006 18:49:49 -0000
- Subject: RE: insight builds with no errors on OSX, but gdb not! being built ...
On 14 March 2006 18:30, Hermann-Simon Lichte wrote:
>> ...
>> checking for correct version of gmp.h... yes
>> checking for MPFR... yes
>> *** This configuration is not supported in the following subdirectories:
>> bfd opcodes gdb sim
>> (Any other directories should still work fine.)
>> ...
>
> I realised that you're trying to build Insight for debugging Mac OS X
> applications. There are some peculiarities about Mac OS X, e.g., the
> use of Mach-O object files instead of ELF object files due to
> Darwin's Mach heritance. Apple keeps modified versions of gcc and gdb
> at www.opensource.apple.com, and I don't think that these
> modifications are considered in Insight. I can't think of any other
> operating system that still uses Mach-O besides Mac OS X.
>
Ah, that's just what I was going to point out in the 'other mail' I said I'd
be sending. I don't know whether the apple version of gdb includes insight or
not, but if it doesn't, you could always try crudely wedging together the
apple gdb sources and the insight-specific subdirs and see if it works. The
insight GUI is well enough decoupled from the gdb application that it might
work, or at any rate might work well enough to be getting on with. For
instructions on how to munge an insight build into an existing gdb source
tree, see
http://sourceware.org/ml/insight/2004-q3/msg00009.html
cheers,
DaveK
--
Can't think of a witty .sigline today....