GCC Problem July 21, 2008
Posted by genetical in Techincal Support.Tags: c, compile error, external, external reference, gcc
add a comment
It seems that GCC is broken when it comes to trying to compile source code that contains external references to object files/DLL’s/etc. When compiling, it says, “gcc: installation problem, cannot exec ‘cc1plus’” No such file or directory“. Now I have tried reinstalling GCC and it still seems to be broken. Maybe someone else has a clue as to how we can fix this? To see the code that generates this error go on Sylow at “/home/steve/chris/redo/” and run the command “sudo gcc -c exRef.C“. The code will compile as C++ source if you modify the code by uncommenting the “extern “C” ” stuff and run the command “sudo g++ -c exRef.C” but we need to be able to do this in C in order to use the hello2.C program we have.
-Chris