Matt, I have the gcc rpm installed: # rpm -qa | grep gcc gcc-2.95.3-216 but I still don't have g++. Is something wrong with my setup? I just tried to link gcc to g++ in hopes that would do the trick, but (not surprisingly) now I get tons of error messages. Greg
g++ is part of the GCC suite.
Instead of gcc filename.cpp you do g++ filename.cpp
Matt
On Thu, 30 Jan 2003, Greg Freemyer wrote:
I have gcc installed, but a project I'm trying to compile is calling for g++
I assume that is a c++ compiler, but what do I need to install via yast2.
Greg Freemyer
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Fri, 2003-01-31 at 00:26, Greg Freemyer wrote:
Matt,
I have the gcc rpm installed:
# rpm -qa | grep gcc gcc-2.95.3-216
but I still don't have g++.
Is something wrong with my setup?
I just tried to link gcc to g++ in hopes that would do the trick, but (not surprisingly) now I get tons of error messages.
g++ is a wrapper that calls gcc with the parameters needed to compile c++ programs (-l stdc++ and the like). You'll find it in the rpm gcc-c++.rpm -- Anders Johansson <andjoh@rydsbo.net>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On January 30, 2003 06:26 pm, Greg Freemyer wrote:
but I still don't have g++.
The GCC compiler suite is slit up into seperate packages, you need to install: gcc-c++. Charles -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+ObZs3epPyyKbwPYRAiewAJsE30iyvHRu9js+G5fTO+aX+iRsfACdEghC HNtXrY8hVMAvTsdEVKwPJSo= =Qttq -----END PGP SIGNATURE-----
Yes, g++ is part of GCC 3.2. For some reason thought you were running SuSE 8.1. This had me for awhile :). Matt On Thu, 30 Jan 2003, Greg Freemyer wrote:
Matt,
I have the gcc rpm installed:
# rpm -qa | grep gcc gcc-2.95.3-216
but I still don't have g++.
Is something wrong with my setup?
I just tried to link gcc to g++ in hopes that would do the trick, but (not surprisingly) now I get tons of error messages.
Greg
g++ is part of the GCC suite.
Instead of gcc filename.cpp you do g++ filename.cpp
Matt
On Thu, 30 Jan 2003, Greg Freemyer wrote:
I have gcc installed, but a project I'm trying to compile is calling for g++
I assume that is a c++ compiler, but what do I need to install via yast2.
Greg Freemyer
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On 01/31/2003 07:26 AM, Greg Freemyer wrote:
I have the gcc rpm installed:
# rpm -qa | grep gcc gcc-2.95.3-216
but I still don't have g++.
IIANM, you have 8.0. Try installing gpp off the cd. That one is for c++ programs. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Greg Freemyer <freemyer@NorcrossGroup.com> [Thu, 30 Jan 2003 18:26:35]:
I have the gcc rpm installed:
# rpm -qa | grep gcc gcc-2.95.3-216
but I still don't have g++.
Seems like you're using SuSE Linux 8.0. In that case install the packages gpp.rpm (the C++ compiler) and libgpp.rpm (libstdc++, needed by every C++ program). Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
participants (6)
-
Anders Johansson
-
Charles Philip Chan
-
Greg Freemyer
-
Joe Morris (NTM)
-
Matthew Johnson
-
Philipp Thomas