 |
 |
c++ compiling
|
 |
|
 |
|
Senior User
Join Date: Oct 2003
Location: Minneapolis
Status:
Offline
|
|
I am currently enrolled in a c++ class and we use unix machines. In the terminal we use the command line "g++ name.cpp" to compile our program. does anyone know how i can include this command into the darwin terminal, or is there a different command that does this? thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2004
Location: Canberra, City of Sin
Status:
Offline
|
|
(1) Install the free Developer Tools.
(2) There is no 2.
|
|
I would like you on a long black
leash,
You can bring me all the things I
need.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2000
Location: Nashua NH, USA
Status:
Offline
|
|
2) Application->Utilities->Terminal.app
3) No step 3, your in UNIX land baby!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by staph:
(2) There is no 2.
True, but there are:
1.25: Register for a free Apple Developer Connection online membership at: http://connect.apple.com/
1.5: Log in and proceed to "Download Software" -> "Developer Tools"
1.75: Download "Xcode Tools v1.2"... it's a large file and will take a few hours to download depending on your connection.
The "developer tools" are a bunch of programs that allow you to develop software on Mac OS X. This includes the command line tools (g++, make, gdb, etc) and also Mac OS X specific tools (XCode, shark, quartz debug, etc).
I compile lots of software on my Powerbook for my computer science classes, good to be a Mac user, eh? 
(Last edited by [APi]TheMan; Nov 22, 2004 at 02:32 AM.
)
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2003
Location: Minneapolis
Status:
Offline
|
|
thanks a lot. yea, love the mac
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by TubaMuffins:
thanks a lot. yea, love the mac
Awesome. So what kind of classes are you going to be taking? Data structures, algorithms, theory, technical writing?
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Feb 2001
Location: Deer Crossing, CT
Status:
Offline
|
|
Actually, XCode is up to version 1.5, not 1.2. One caveat, if you install XCode 1.5 and want to do audio work, then do a custom install and uncheck Install Headers.
If you don't uncheck Install Headers, then you will need to reinstall the lastest QuickTime, then install the Core Audio 1.3.1 SDK.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by PBG4 User:
Actually, XCode is up to version 1.5, not 1.2. One caveat, if you install XCode 1.5 and want to do audio work, then do a custom install and uncheck Install Headers.
If you don't uncheck Install Headers, then you will need to reinstall the lastest QuickTime, then install the Core Audio 1.3.1 SDK.
You're correct about XCode version 1.5, however 1.5 is not a standalone install if I recall correctly. You must install 1.2 before you can apply the 1.5 update.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|