Re: possible to debug makefile-based project?
Re: possible to debug makefile-based project?
- Subject: Re: possible to debug makefile-based project?
- From: Jim Ingham <email@hidden>
- Date: Fri, 9 Jan 2004 10:46:45 -0800
Kurt,
You certainly can debug Makefile projects in both Project Builder and
Xcode. I do it with gdb all the time. All you need to do is make an
empty project, create a custom executable and point it at whatever your
makefile generates. Actually, you can also make a "legacy makefile
target" in both Xcode and Project Builder that will run your makefile
which makes this even more convenient. And if, additionally, you add
all the sources that are used in the Makefile to Xcode/PB, you can take
advantage of all the batch find and indexer stuff as well...
However, the ADA language support hasn't made its way into our gdb yet,
so debugging ADA code with the Xcode version of gdb won't work terribly
well. The gnats folks do maintain a version of Apple's gdb that they
build for Mac OS X that works with ADA. They haven't done an ADA
enabled version of the gdb that goes with Xcode, but they do have one
for Project Builder, IIRC. The best place to go for information on
this is the GNAT OSX Developers list: email@hidden.
Jim
On Jan 8, 2004, at 9:44 PM, Kurt Bigler wrote:
This question is in advance of having installed or tried XCode.
I have a makefile-based X11 application project which I am porting to
OS X.
I would like to use a graphical debugger interface to simplify
debugging, but do not need any other features of XCode. Is there a
way I can make my project conform to what XCode needs without actually
creating a normal XCode project file for it?
Actually since at the moment I am stuck in 10.2.7 I have the same
question for Project Builder. But I assume this aspect of things is
no different between 10.2.7 PB and XCode.
It is an Ada application actually, but I suspect that poses no
particular problems--as long as the debug information is in the proper
format the debugger should be able to deal with it, I assume.
Thanks for any help.
-Kurt Bigler
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
--
Jim Ingham email@hidden
Developer Tools
Apple Computer
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.