Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ Cpp Help!

Posted by: TomAL Dec 23 2003, 10:50 AM

Hello, I am trying to use CPP on my new linux install and everytime i call it I get this error...

cpp: installation problem, cannot exec `cc1': No such file or directory

I have searched around and found that people are having this problem with gcc too. I am new to Linux so could someone help me sort this out?
I did a file search for cc1 and it found nothing, I am assuming that I need to install this but I cant find an rpm or anything...

Many Thanks

Tom

Posted by: Hemant Dec 24 2003, 05:35 AM

Few questions....
1.to compile cpp files you need to excute command
$g++ file.cpp
have u used this command to compile cpp file or you have used command cc command..

Moreover it will be convenient for ur if you post problems related to programming in the programming forum....

Anyway i have never had any problems in compiling cpp files..

Posted by: TomAL Dec 24 2003, 08:25 AM

Hi, thanks for the reply, I managed to get it sorted by installing gcc! Sorry I thought this was more of a application/tech prob as it wasnt to do with my program itself...

Still getting used to what is what in Linux!

T

EDIT: I have added another related question to the Programming section if you could take a look....

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)