Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-11-2007, 03:10 AM
Rasjid
Tablet PC Guest
 
Posts: n/a
fedora7 - cannot find cc1plus

I am new to linux, just installed fedora7 with single CD and yum-
installed gcc4.xxx.

gcc works on "hello world" in C but not C++:-

[rasjid@localhost test]$ gcc -x c++ test.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory

A search for cc1plus in my file systems failed to locate cc1plus(gcc
in /usr/bin)

Thanks
Rasjid

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-11-2007, 03:10 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 08-11-2007, 08:20 AM
J.O. Aho
Tablet PC Guest
 
Posts: n/a
Re: fedora7 - cannot find cc1plus

Rasjid wrote:
> I am new to linux, just installed fedora7 with single CD and yum-
> installed gcc4.xxx.
>
> gcc works on "hello world" in C but not C++:-
>
> [rasjid@localhost test]$ gcc -x c++ test.cpp
> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
>
> A search for cc1plus in my file systems failed to locate cc1plus(gcc
> in /usr/bin)


I believe that the C++ has been given it's own package, so that each one
can decide which languages they want to have supported on their box.

I suggest you try to install cpp (should be named the same in RedHat too)

yum install cpp


--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 08-12-2007, 02:30 AM
Rasjid
Tablet PC Guest
 
Posts: n/a
Re: fedora7 - cannot find cc1plus

On Aug 12, 12:13 am, "J.O. Aho" <u...@example.net> wrote:
> Rasjid wrote:
> > I am new to linux, just installed fedora7 with single CD and yum-
> > installed gcc4.xxx.

>
> > gcc works on "hello world" in C but not C++:-

>
> > [rasjid@localhost test]$ gcc -x c++ test.cpp
> > gcc: error trying to exec 'cc1plus': execvp: No such file or directory

>
> > A search for cc1plus in my file systems failed to locate cc1plus(gcc
> > in /usr/bin)

>
> I believe that the C++ has been given it's own package, so that each one
> can decide which languages they want to have supported on their box.
>
> I suggest you try to install cpp (should be named the same in RedHat too)
>
> yum install cpp
>
> --
>
> //Aho


Yes , I 'yum install cpp', etc and now ok.

BTW, Linux is great! I have just installed CodeBlocks IDE for C++
development
and everything's fine - and free, Linux, gcc, ide, editors.

Why XP/Vista !

Rasjid

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 08-12-2007, 03:20 AM
J.O. Aho
Tablet PC Guest
 
Posts: n/a
Re: fedora7 - cannot find cc1plus

Rasjid wrote:

> Why XP/Vista !


Thats only so that microsoft can earn money.
;)

--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have Windows Vista and can not find \windows folder on wm5. I have changed the files to show hidden but still can not find it. Looked all over google and no luck, can someone please help me? marclackey@gmail.com Smartphones 0 08-01-2007 07:50 PM
i cannot find... srhgrl Windows Vista 3 06-15-2007 11:00 AM
how do i find out katie Windows XP 2 06-11-2007 03:00 AM
Can't find how to... Carmen Gauvin-O'Donnell Microsoft OneNote 2 02-07-2007 05:35 PM
can't find key Torrey Lauer Windows Vista 1 01-02-2007 07:24 AM


All times are GMT -8. The time now is 03:47 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0