Find the answer to your Linux question:
Results 1 to 10 of 10
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 ....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Posts
    9

    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
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    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
    Just Joined!
    Join Date
    Feb 2004
    Posts
    9
    thanks , i use red hat 9.0

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

  4. #4
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    could you type this:

    rpm -qa | grep gcc

  5. #5
    Just Joined!
    Join Date
    Feb 2004
    Posts
    9
    where should i type, in "run program" or some where else, sorry about that.

    i tried typing in Runprogram but nothing is coming.

  6. #6
    Just Joined!
    Join Date
    Feb 2004
    Posts
    9
    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?

  7. #7
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    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!

  8. #8
    Just Joined!
    Join Date
    Feb 2004
    Posts
    9
    thank u indeed.

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

  10. #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
  •