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

    Problems running c & c++ programs

    Hello friends
    I am completly new to linux and I have installed mandriva linux one 2007
    Now when i type any command I get the following error

    bash : gcc : command not found

    I tried to change the path but i could not do it successfully
    Can anyone give step wise explanation about how to run c programs under linux

    If available, please send any link which will help me solve this problem

  2. #2
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    you don't have gcc instaled in your system. It must be in your mandriva cd. You can install it using your package manager
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    West Yorks
    For C++ apps, make sure you install gcc-c++ (g++ on some distros).

  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