Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / December 2006



Tip: Looking for answers? Try searching our database.

Compiling in MAC OS X Terminal

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
david.joseph.clark@gmail.com - 22 Dec 2006 02:13 GMT
I am very new to Macs, and I'm trying to learn how to compile C and C++
programs in the terminal application.  I'm currently using OS X 10.4.8.
From everything I've read, gcc should be included with the system, but
I can't seem to find it.  I've tried using it on old programs from
classes to compile them, but it tells me it doesn't recognize either
gcc or cc as commands on the default path.  Is there something in
particular I need to do to get these working?
David Phillip Oster - 22 Dec 2006 02:28 GMT
> I am very new to Macs, and I'm trying to learn how to compile C and C++
> programs in the terminal application.  I'm currently using OS X 10.4.8.
[quoted text clipped - 3 lines]
> gcc or cc as commands on the default path.  Is there something in
> particular I need to do to get these working?

Install the developer tools. Look in /Applications or on your original
disk for the developer tools (Xcode) installer. If you still can't fnd
them, you can download them from http://developer.apple.com after you
register (it is free). The command-line compiler is included with the
integrated developer environment.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.