Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Could you use GNU | GBD 'out' ot xcode?

Could you use GNU | GBD 'out' ot xcode?
Thread Tools
Addicted to MacNN
Join Date: Oct 2001
Location: Automatic
Status: Offline
Reply With Quote
Sep 15, 2004, 05:10 AM
 
A friend asked me about the follow, he needs to use GDB under Mac OS X to do something with/to a Palm app, I have no clue about Palms, he asks about if is possible to use GNU and GDB even if you do not install the whole xcode thing.

the Info about GNU and GDB for sure you all know yet,
http://developer.apple.com/tools/gcc_overview.html

Thanks in advance.


"That plane's dustin' crops where there ain't no crops."
     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Sep 15, 2004, 06:14 AM
 
It's probably possible to do, but he'd probably be better just installing Apple's free developer tools instead. No compatibility worries that way.

You can run gdb from terminal just like you would on any Linux box.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Sep 15, 2004, 09:32 AM
 
Install the whole XCode tools, but ignore the IDE - run gcc and gdb from the desktop. Yes, it is possible to do this.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Sep 15, 2004, 09:42 AM
 
gcc and gdb are part of the "Xcode Tools" suite, which is badly named. If you install Xcode Tools, you can run gcc and gdb as you would on any other platform (Darwin oddnesses aside), and build projects using makefiles, configure scripts and so on. Xcode is just a convenience GUI IDE that you can use if you so desire.

You can also build cross-compilers from the official FSF gcc tarballs and stuff.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:15 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2