GCC in Leapord

Joined
Dec 20, 2007
Messages
1
Reaction score
0
Points
1
I cannot get GCC to work in leopard at all. Every time i compile i get a "directory not found" error for all the standard directories. What could my problem be?

Ive tried compiling with the -v option and ive searched the listed directories but still, nada.
 
Joined
Mar 14, 2005
Messages
443
Reaction score
3
Points
18
Location
Atlanta, GA
Your Mac's Specs
17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
Type

which gcc

in terminal and tell us what it says.
 
Joined
Dec 13, 2007
Messages
72
Reaction score
4
Points
8
Location
Toronto, ON
Your Mac's Specs
White MacBook | Core2Duo 2.2GHz | 4GB RAM | 120GB HDD | OS X 10.6.2
did you install the XCode package from one of the install CD's?
 
Joined
Jan 3, 2008
Messages
107
Reaction score
0
Points
16
he probably has GCC, but is in the wrong directory. if you have never used Bash before, you have to change to the directory in which your source files are. 'cd ~/' etc.
 

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