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 > GCC/XCode 2.1 Segmentation Fault?

GCC/XCode 2.1 Segmentation Fault?
Thread Tools
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status: Offline
Reply With Quote
Oct 31, 2005, 08:22 PM
 
I seem to be having a problem with GCC & XCode 2.1. I've been using XCode 2.0 for awhile, but I figured it was time to upgrade to XCode 2.1 I'm currently working on my own personal project, and when I build it in XCode 2.1, I get an "internal compiler error: Segmentation Fault" I had no problems building this project with XCode 2.0.

I've done some google searches, but it doesn't seem to be a common XCode Problem. Has anyone else experienced this problem? (My app is written primarily in Obj-C and the app that crashes is "cc1obj")

I also remember the ability to set which compiler you use in XCode 2.0 (gcc 3.x or gcc 4.x)...I can't seem to find that option in XCode 2.1. Does anyone know how to do this? Maybe this will help me get around my error!

Thanks again!
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Oct 31, 2005, 08:38 PM
 
gcc_select lets you choose the version to use.
(Last edited by Detrius; Oct 31, 2005 at 11:18 PM. (Reason:Double post... happening a lot recently.))
     
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status: Offline
Reply With Quote
Oct 31, 2005, 09:59 PM
 
Thanks! I switched the compiler to GCC 3.3, and everything works now!
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Oct 31, 2005, 10:36 PM
 
Forum index still shows zero replies for this thread. Stupid.

Edit: Fixed now I guess.
     
   
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 07:41 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