From: Brendan Kehoe (brendan at domain zen.org)
Date: Wed 02 Feb 2000 - 10:21:42 GMT
> i was running a make file in one window then i ran
> gcc in another and got the following message.
> gcc: installation problem, cannot exec 'cc1plus': no such file or directory
> i reinstalled gcc but gout the same message any solutions
Do you have GCC_EXEC_PREFIX set in your environment? That can be used to
change where the compiler looks for its various pieces, including the main
compiler programs like cc1 (the C compiler) or cc1plus (the one for C++),
include files, the libgcc support library, et al.
The gcc distribution you have may in fact only have had the C front-end built;
when it's created, it needs to either be built with a plain `make', or with
one specifying LANGUAGES='c c++'.
Are you able to compile a C file with that same gcc, or does it give a similar
error for cc1?
Is the compilation using any `-B/some/dir/' flags? That can sometimes be used
to direct the compiler to look in the right location (much as it will with
GCC_EXEC_PREFIX) for the same various pieces.
Hope this helps,
-- Brendan Kehoe Web page: http://www.zen.org/~brendan/
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:20 GMT