[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] error "make"ing wm2

BALATON Zoltan - Fri May 14 16:44:54 1999


On Thu, 13 May 1999, Jon Hofmann wrote:
> gcc -c -O2 Border.C
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
> make: *** [Border.o] Error 1

In RedHat 5.2 there are two c compilers. One is gcc which is mainly for
compatibility with older kernels. This compiles only ansi c, not c++. The
other one is egcs, which is better, but cannot compile a 2.0.x kernel due
to a conflict between these kernels and egcs. So normaly you should use
egcs to compile programs (like wmx and wm2) and use gcc to recompile the
kernel. To tell make to use egcs instead of gcc set the CC environment
variable to the compiler you want. You can also set it in the make file as
CC=egcs. Maybe you need CXX=c++ also to tell make which c++ compiler to
use. Make sure you have the egcs-c++ package installed.