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

    where can i get G++


    with lots kind guys helping, i v successfully installed Linux.
    i need a c compile g++ for my assignment, where i can get it. thanks .

  2. #2
    It should be installed, if not its a. on your distro's cdrom(s) or b. on Http://gcc.gnu.org

    What distro do you use?

    Good luck

  3. #3
    thanks , i use red hat 9.0

    but how i could find it , i didn't see any GCC on screen.

  4. $spacer_open
    $spacer_close
  5. #4
    could you type this:

    rpm -qa | grep gcc

  6. #5
    where should i type, in "run program" or some where else, sorry about that.

    i tried typing in Runprogram but nothing is coming.

  7. #6
    i tried typing in teminal in which it seems work.
    display as following :
    compat -gcc-7.3-2.96.118
    gcc-g77-3.2.2-5
    gee-java--3.2.2.5
    libgcc-3.22.-5
    compat--gcc-7.3-2.96.118
    gcc-3.2.2-5
    gee-c++--3.2.2.5
    gcc--gnat-3.22.-5

    i am into gcc?

  8. #7
    Sounds like you have it!

    You can download eg. anjuta from anjuta.org, install it through RPM or source, and start programming.

    If you just wan't to test, you can g++ yourc++file.cpp and ./a.out to test that it works!

    Good luck!

  9. #8
    thank u indeed.

  10. #9
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Or gcc --version

  11. #10
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    I believe the package "gcc-g++" will install g++. I'm using Fedora core but I've seen this with other distros as well.
    The best things in life are free.

Posting Permissions

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