c++ compiler problem
Hello,
I've been getting this error with a couple of programs I am trying to make. It says, checking for g++... g++ checking for C++ compiler default output... configure: error: C++ compiler cannot create executables I know what there error is saying, but how do i make it so that my c++ compiler can create executables? Thank you |
Do you have permissions to create executables in the directory you're working?
Regards |
Yes I do, and even if I am root it does the same thing
|
Hi!
well, I'm thinking a couple of things you can do. First, do you get the same problem if you try to compile a C program (i.e. directly with gcc, instead g++)? Could you write what is the exact command you typed, and the output? Did you try the '-v' (verbose) option?What does it say? Have you checked if you have an executable output of the compiler in the same directory with the same name but whitout writting permissions? (maybe the compiler tries to overwrite the file and it cannot) Or maybe you have a problem with the configuration of the compiler. Did it happen before, or is the first time?What did you change since the last time the g++ worked well? :confused: Regards |
You could have the same problem as the one in this thread
http://www.linuxquestions.org/questi...threadid=83295 And if you search for "C++ compiler cannot create executables" as exact string you will find still more info. Regards |
All times are GMT -5. The time now is 11:14 PM. |