LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] gcc problem

[ILUG] gcc problem

Brendan Kehoe brendan at zen.org
Wed Feb 2 10:21:42 GMT 2000


> 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,
B

-- 
Brendan Kehoe

Web page: http://www.zen.org/~brendan/




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell