Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy GCC Fedora not working

    hi, i am new to linux using fedora 13. I installed gcc using command yum install gcc and i learned that when i will type g++ -v it will show the version of the gcc but it displays command not found. Whats wrong i am not able to compile my CPP program. Help me compiling my cpp program which is in / dir.
    i am running the command g++ -v as su.

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Hi and Welcome !

    Execute this in Terminal
    rpm -qa gcc
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    as root run

    yum -y install 'gcc-c++'
    g++ (the c++ compiler) is not installed by default, only the C compiler.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts