g++

Posted:
in Genius Bar edited January 2014
Ok, brain Fade?

I just installed Panther, Hind sight and Idea messing with something that work Just before a project is due.. anyway.. Terminal no longer complies.

I type in g++ asg8.cpp... is this right.. or do I need to find the compiler again? if so where?

thanks a billion I'm a bit frazzled.

flick.

Comments

  • Reply 1 of 5
    dobbydobby Posts: 792member
    Dont you have to install the Dev kit?

    g++ does work on my 10.3 install either but it does work on another that has the dev tools installed.
  • Reply 2 of 5
    check for the following file:-

    Code:




    /usr/bin/gcc









    You might have to re-install developer tools.
  • Reply 3 of 5
    kickahakickaha Posts: 8,760member
    Posting the error you see would really help too... "It don't work, fix it." isn't really helpful... :P
  • Reply 4 of 5
    Quote:

    Originally posted by Kickaha

    Posting the error you see would really help too... "It don't work, fix it." isn't really helpful... :P



    very well.



    [TheDuke:~/assignments/asg8] sputnik% g++ asg8.cpp

    tcsh: g++: Command not found.

    [TheDuke:~/assignments/asg8] sputnik%



    why did the post the Dev tools in a such small files? is there anywehere to get it in one big download?

    flick.
  • Reply 5 of 5
    kickahakickaha Posts: 8,760member
    You don't have the Developer Tools installed at all, it's just that simple.





    As for a big package, I'm not sure what you mean. Xcode is one package. Xcode 1.0.1 updater is another. Yeah, the Xcode is in segments, but it's a single Download button...



    Go to ADC, log in, click Download Software on the left side, then Developer Tools. The two things you want are at the top.
Sign In or Register to comment.