Vivek Katakam wrote: > Hi All, > > I tried to install gcc and it was successful. > But when i tried to compile the following CPP program, I am getting the error > g++ -Wno-deprecated -I/usr/include host/frdaemon/daemon.cpp -o svfrd -lcurl > > g++: host/fr_log/logger.cpp: C++ compiler not installed on this system > .. > .. > > I am having the following versions of gcc and g++ installed on the system. > bash-2.05# g++ --version > g++ (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > bash-2.05# gcc --version > gcc (GCC) 4.0.3 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > The Operating system is solaris9 (ultra_Sparc) Tell us exactly how you installed the compiler. Andrew.