g++ command not working

I'm trying to compile a C++ program in the terminal.


[Ryan-Challacombes-Computer:~/Desktop/Cpp_programs] ryan% ls
#hello_world.cpp# hello world.cpp hello_world.cpp program1
[Ryan-Challacombes-Computer:~/Desktop/Cpp_programs] ryan% g++ hello_world.cpp -o helloworld
tcsh: g++: Command not found.


I get the same error trying to compile in Carbon Emacs editor. I have the Xcode stuff installed . . . any ideals?

G4 dual 867MHz proccessors, Mac OS X (10.2.x)

Posted on Feb 21, 2007 7:06 PM

Reply
5 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

g++ command not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.