Bogdan Cristea wrote:
Look for g++
You should be able to compile cpp programs with gcc also, but you must have libstdc++ installed and use the switch -lstdc++ for linking.
On Wednesday 14 May 2008 20:43:31 Mark Misulich wrote:
Hi, a few weeks ago I was advised to add gcc-cpp to my installed programs if I wished to compile programs on linux. I looked through the software management and can't find that program. Does it masquerade under another name?
Mark
cpp has nothing to do with C++ (at least not directly), it's the GNU preprocessor and comes in its own RPM package called cpp. $> which cpp /usr/bin/cpp $> rpm -qf /usr/bin/cpp cpp-4.2-24 $> rpm -qfi /usr/bin/cpp | grep Summary Summary : The system GNU Preprocessor If you are looking for the C++ compiler (called g++), then you should follow Bogdan's advice and install the gcc-c++ RPM (plus dependencies). The basic RPM package for the GNU compiler collection is called gcc. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org