Find the answer to your Linux question:
Results 1 to 4 of 4
Hello ! I use Mandrake 10.1 & I want install a C++ compiler ... So ... Can you help me to install the "GCC" ? Or "Intel C++ Compiler for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    15

    How Can I install a C++ Compiler ?


    Hello !

    I use Mandrake 10.1 & I want install a C++ compiler ...
    So ... Can you help me to install the "GCC" ?
    Or "Intel C++ Compiler for Linux" ?
    Step by Step Please ...

    Thank you so much............

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    Assuming you still have the cd's or dvds, goto the MCC and select software update, then select update packages and under developemnt, select the gnu c compiler,

    else as root, type into a terminal
    Code:
    urpmi gcc

  3. #3
    Linux Newbie
    Join Date
    Nov 2004
    Location
    New York
    Posts
    150
    That's fine for C, but I don't think Mandrake comes with a C++ compiler, unless you pay for access to their online rpm database.

    I'm running Mandrake Community 10.1 and can't find a clean way to get g++ installed. Do you know of any compatible rpms?
    \"Nifty News Fifty: When news breaks, we give you the pieces.\" - Sluggy Freelance

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    Im running a Mandrake 10.1 FTP version and i can compile c++ programs just fine, simply replace gcc with g++ when compiling the code. gcc and g++ are basically the same thing, its just that you have to call them with appropriate names i.e. gcc for c and g++ for c++.

Posting Permissions

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