Quoting Joel Realubit <[EMAIL PROTECTED]>:

> g++ -c  -b i386-redhat-linux7  -I./include    <my program>.cxx
> g++: installation problem, cannot exec `cc1plus': No such file or
> directory
> make: *** [<my program>.o] Error 1
>  
> should i add /usr/lib/gcc-lib/i386-linux-redhat7/2.6 to my PATH?
> is it  that simple, or are there other gotchas i should know about?

I am not a RH9 user, so I am not sure which gcc/g++ version RH9
uses, but I have a feeling that RH9 uses either gcc 3.2 or gcc-3.3.
This gcc/g++ version will look for cc1plus, pass1 of the c++
compiler, in the directory /usr/lib/gcc-lib/i386-redhat-linux*/3.2
or 3.3, by default.  If you installed only gcc but not g++, then
cc1plus is probably not there.  Just go ahead and install g++ and
I believe your problem will be solved.

PManalastas
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to