g++: installation problem, cannot exec 'cc1plus': No such file or directory
capitis
capitis@enteract.com
Wed Dec 1 14:45:00 GMT 1999
I just compiled gcc-2.95.1 and having some problems. Please help.
I did;
g++ -o hello hello.cpp
and this erro message comes up.
cpp: -lang-c++: linker input file unused since linking not done
g++: installation problem, cannot exec `cc1plus': No such file or
directory
For g++ -v -o hello hello.cpp
I get the following error message.
Using builtin specs.
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=90 -Di386 -D__ELF__ -Dunix -Dlinux -D__i386__ -D__ELF__
-D__unix__ -D__linux__ -D__i386 -D__unix -D__linux -Asystem(posix)
-D__EXCEPTIONS -Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386)
-D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386) hello.cpp
/tmp/ccEMljmc.ii
Reading specs from /usr/local/lib/gcc-lib/i586-linux/2.95.1/specs
gcc version 2.95.1 19990816 (release)
/usr/local/lib/gcc-lib/i586-linux/2.95.1/cpp -lang-c++ -v
-Asystem(posix) -Asystem(unix) -Acpu(i386) -Amachine(i386)
-Asystem(unix) -Acpu(i386) -Amachine(i386) -D__cplusplus -D__EXCEPTIONS
-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium
-D__i586 -D__i586__ -D__pentium -D__pentium__ -D__GNUC__=2 -D__GNUG__=2
-D__cplusplus -D__GNUC_MINOR__=90 -Di386 -D__ELF__ -Dunix -Dlinux
-D__i386__ -D__ELF__ -D__unix__ -D__linux__ -D__i386 -D__unix -D__linux
-D__EXCEPTIONS -Di386 -D__i386__ hello.cpp -o /tmp/ccEMljmc.ii
GNU CPP version 2.95.1 19990816 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/gcc-lib/i586-linux/2.95.1/../../../../include/g++-3
/usr/local/include
/usr/local/lib/gcc-lib/i586-linux/2.95.1/../../../../i586-linux/include
/usr/local/lib/gcc-lib/i586-linux/2.95.1/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
End of omitted list.
cpp: -lang-c++: linker input file unused since linking not done
cc1plus /tmp/ccEMljmc.ii -quiet -dumpbase hello.cc -version -o
/tmp/ccEMljmc.s
g++: installation problem, cannot exec `cc1plus': No such file or
directory
More information about the Gcc-help
mailing list