Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

russellelly

macrumors regular
Original poster
Jun 23, 2006
139
41
Glasgow, UK
Hi all,

Started doing some C in uni this term using Unix. I'm having some bother getting a compiler to work on my iBook. I've downloaded the Xcode Legacy Tools from Apple Developer's site (since the current ones are for 10.4) and installed gcc 3.1 . However trying to execute gcc I just get Command Not Found. Not sure what I'm wrong, not sure where gcc has been installed to to check if its on my path or not, it's not made clear but I haven't changed the defaults.

Any ideas on what could be going wrong? TIA :)
 

zimv20

macrumors 601
Jul 18, 2002
4,402
11
toronto
it's probably in /usr/bin. you can run
Code:
which gcc
... and it should tell you where it is. however, /usr/bin is likely already in your path, so maybe you didn't install it right.
 

Cromulent

macrumors 604
Oct 2, 2006
6,810
1,100
The Land of Hope and Glory
Hi all,

Started doing some C in uni this term using Unix. I'm having some bother getting a compiler to work on my iBook. I've downloaded the Xcode Legacy Tools from Apple Developer's site (since the current ones are for 10.4) and installed gcc 3.1 . However trying to execute gcc I just get Command Not Found. Not sure what I'm wrong, not sure where gcc has been installed to to check if its on my path or not, it's not made clear but I haven't changed the defaults.

Any ideas on what could be going wrong? TIA :)

You need to download Xcode 1.5 NOT the Xcode Legacy Tools. Xcode 1.5 is available for download from the same place as the current version of Xcode.

The Xcode Legacy Tools are for development on OSX 10.0 and 10.1.

Edit : Just had a look and it is in a slightly different place. Login to ADC using your free account and click downloads and then click the Developer Tools link and Xcode 1.5 is near the bottom.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.