how to compile on terminal of Macpro? i've tried with gcc or g++ but doesnt work...do i have to install sth or what?
You need to install the Xcode command-line tools, which you can do from within the Xcode application.
how do i do it? :$
Install Xcode from the App Store, then select Xcode > Preferences > Downloads > Components > Command Line Tools.
Retrieving data ...