gcc_select troubles

Joined
Aug 4, 2006
Messages
47
Reaction score
1
Points
8
Location
Windsor, Ontario (Canada)
Your Mac's Specs
2.16 Ghz MacbookPro, 1GB RAM, Radeon X1600, 100GB Hard Disk
I'm new to Mac development, though not to UNIX development in general.

I noticed that OS X comes with two gcc's installed -- gcc-3.3 and gcc-4.0. The default gcc symlink points to 4.0, but there seems to be a gcc_select tool that allows you to switch back and forth. The problem is that when I use either gcc-3.3 manually or do sudo gcc_select 3.3, it seems to work but then I get a
Code:
gcc-3.3: installation problem, cannot exec `cc1': No such file or directory
whenever I try to actually compile something.
Is there a known solution to this?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top