When I first got old macbook, I was able to compile through terminal by just typing g++ and the target. I was in a lab class and I don't remember if someone help me install some stuff so I was able to compile. That the macbook I was using stop working so I now have a Macbook Pro. It arrived this morning so I just took it out of the box and put it in my backpack and rush out the door.
So I was working on my project for class. I took the files from the school Unix server and put them in my directory. There was a makefile included with it, and I type "make" but it gives me this -bash: make: command not found.
Then I tried just to g++ my files and it gives me command not found. I'm guessing I don't actually have a compiler. Is that the right conclusion? If that right, do I go download xcode and will I be able to compile through terminal?
So I was working on my project for class. I took the files from the school Unix server and put them in my directory. There was a makefile included with it, and I type "make" but it gives me this -bash: make: command not found.
Then I tried just to g++ my files and it gives me command not found. I'm guessing I don't actually have a compiler. Is that the right conclusion? If that right, do I go download xcode and will I be able to compile through terminal?