Thread: GNU C++ compiler error

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    GNU C++ compiler error

    My compiler isn't working it keeps coming up with this error
    Installation Problem, cannot exec 'cpp':No such file or directory can you tell me as many solutions as possible please cause i really need to use it.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    You probbly have forgotten to add the compiler's bin directory to your path variable.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    129
    Linux: g++
    DJGPP: gxx

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    kooma:

    >>> Linux: g++

    Is that generally true on Linux? I was trying to help a guy compile a C++ program on a Mandrake Linux system. He said he used "gcc", should he be using g++?

    He could compile straight C but not C++.

    http://www.cprogramming.com/cboard/s...threadid=10464
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    88
    @adrianxw:
    in most case i would say YES!

    g++ is the gnu c++ compiler
    gcc is the gnu c compiler

    yes, he should try g++ -> the commandline syntax is qyuite the same...
    Hope you don't mind my bad english, I'm Austrian!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  2. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  3. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  4. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  5. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM