Re: possible to debug makefile-based project?
Re: possible to debug makefile-based project?
- Subject: Re: possible to debug makefile-based project?
- From: Kurt Bigler <email@hidden>
- Date: Sat, 10 Jan 2004 02:24:13 -0800
Thanks, Jim and Rob. Will get back to working on this next week and
will try it then.
-Kurt
On Friday, January 9, 2004, at 05:05 PM, Rob Lockstone wrote:
Just a minor correction. In Xcode 1.1, the old PB Legacy Makefile
Target is called "External Target". Prior to Xcode 1.1, it was called
something else (and it had some problems as well).
Rob
On Jan 9, 2004, at 10:46, Jim Ingham wrote:
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.
_______________________________________________
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.
_______________________________________________
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.